diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-05-21 15:53:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 15:53:01 +0200 |
commit | fe640e5858c57ea23bbcbacacb715ecade99ef23 (patch) | |
tree | 55a9a86b1a99cf09c97adcde7182bf914e9636a9 | |
parent | e387f5ba62cfa5720b79dcb5cec67caf5d18ba1e (diff) | |
parent | 86f0e873c705f37b29af161c7a6216397d518542 (diff) | |
download | redis-fe640e5858c57ea23bbcbacacb715ecade99ef23.tar.gz |
Merge pull request #7300 from ShooterIT/comment
Replace 'addDeferredMultiBulkLength' with 'addReplyDeferredLen' in comment
-rw-r--r-- | src/networking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index e6c48ac77..f3362aba4 100644 --- a/src/networking.c +++ b/src/networking.c @@ -268,7 +268,7 @@ void _addReplyProtoToList(client *c, const char *s, size_t len) { clientReplyBlock *tail = ln? listNodeValue(ln): NULL; /* Note that 'tail' may be NULL even if we have a tail node, becuase when - * addDeferredMultiBulkLength() is used, it sets a dummy node to NULL just + * addReplyDeferredLen() is used, it sets a dummy node to NULL just * fo fill it later, when the size of the bulk length is set. */ /* Append to tail string when possible. */ @@ -473,7 +473,7 @@ void trimReplyUnusedTailSpace(client *c) { clientReplyBlock *tail = ln? listNodeValue(ln): NULL; /* Note that 'tail' may be NULL even if we have a tail node, becuase when - * addDeferredMultiBulkLength() is used */ + * addReplyDeferredLen() is used */ if (!tail) return; /* We only try to trim the space is relatively high (more than a 1/4 of the |