Skip to content

Commit fe640e5

Browse files
authored
Merge pull request redis#7300 from ShooterIT/comment
Replace 'addDeferredMultiBulkLength' with 'addReplyDeferredLen' in comment
2 parents e387f5b + 86f0e87 commit fe640e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/networking.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void _addReplyProtoToList(client *c, const char *s, size_t len) {
268268
clientReplyBlock *tail = ln? listNodeValue(ln): NULL;
269269

270270
/* Note that 'tail' may be NULL even if we have a tail node, becuase when
271-
* addDeferredMultiBulkLength() is used, it sets a dummy node to NULL just
271+
* addReplyDeferredLen() is used, it sets a dummy node to NULL just
272272
* fo fill it later, when the size of the bulk length is set. */
273273

274274
/* Append to tail string when possible. */
@@ -473,7 +473,7 @@ void trimReplyUnusedTailSpace(client *c) {
473473
clientReplyBlock *tail = ln? listNodeValue(ln): NULL;
474474

475475
/* Note that 'tail' may be NULL even if we have a tail node, becuase when
476-
* addDeferredMultiBulkLength() is used */
476+
* addReplyDeferredLen() is used */
477477
if (!tail) return;
478478

479479
/* We only try to trim the space is relatively high (more than a 1/4 of the

0 commit comments

Comments
 (0)