From 7ed7652846a0cb5f3db25e98b323ba75a31ebcb5 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 22 Jul 2013 11:05:55 +0200 Subject: [PATCH] Fixed a possible bug in client->reply_bytes computation. --- src/networking.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/networking.c b/src/networking.c index 4066d69a..a9f01686 100644 --- a/src/networking.c +++ b/src/networking.c @@ -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; }