We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1afb002 + 9018ddc commit 9f932bcCopy full SHA for 9f932bc
src/networking.c
@@ -488,7 +488,7 @@ void trimReplyUnusedTailSpace(client *c) {
488
/* take over the allocation's internal fragmentation (at least for
489
* memory usage tracking) */
490
tail->size = zmalloc_usable(tail) - sizeof(clientReplyBlock);
491
- c->reply_bytes += tail->size - old_size;
+ c->reply_bytes = c->reply_bytes + tail->size - old_size;
492
listNodeValue(ln) = tail;
493
}
494
0 commit comments