Fixed a possible bug in client->reply_bytes computation.

This commit is contained in:
antirez 2013-07-22 11:05:55 +02:00
parent a31693417d
commit 7ed7652846

View File

@ -781,6 +781,7 @@ void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask) {
if (objlen == 0) {
listDelNode(c->reply,listFirst(c->reply));
c->reply_bytes -= objmem;
continue;
}