void Buffer::Append(const char* buffer_, unsigned length_) { if (length_ > GetRemaining()) Allocate(length + length_); memcpy(GetPosition(), buffer_, length_); Lengthen(length_); }
void LengthenDelay(client *c, int argc, sds *argv) { int ret= Lengthen(argv[1]); if(ret==0) addReplyStatus(c, "+OK"); else addReplyError(c, tubii_err); }