diff options
author | antirez <antirez@gmail.com> | 2013-07-22 11:05:55 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-07-22 11:05:55 +0200 |
commit | 7ed7652846a0cb5f3db25e98b323ba75a31ebcb5 (patch) | |
tree | 2cf5d9c52f998ca3a66c0cbc10010454d80b987e /src/networking.c | |
parent | a31693417dba3b2ddad46386778e191daef85e21 (diff) | |
download | redis-7ed7652846a0cb5f3db25e98b323ba75a31ebcb5.tar.gz |
Fixed a possible bug in client->reply_bytes computation.
Diffstat (limited to 'src/networking.c')
-rw-r--r-- | src/networking.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c index 4066d69a8..a9f016862 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; } |