This commit is contained in:
Itamar Haber 2017-12-05 19:09:19 +02:00
parent b23c8babed
commit 482d678e95

View File

@ -610,11 +610,9 @@ void addReplyHelp(client *c, const char **help) {
"%s <subcommand> arg arg ... arg. Subcommands are:",cmd);
sdsfree(cmd);
while (help[blen]) {
addReplyStatus(c,help[blen++]);
}
while (help[blen]) addReplyStatus(c,help[blen++]);
blen += 1; /* Account for the header line(s). */
blen++; /* Account for the header line(s). */
setDeferredMultiBulkLength(c,blenp,blen);
}