diff options
author | zhl49 <99204313+zhl49@users.noreply.github.com> | 2022-04-10 14:29:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 09:29:50 +0300 |
commit | dd3b545d89468d81b29e6a1e72de7a4a38da80d1 (patch) | |
tree | 600c4a3b262db17d0072eb2002ced101da381582 /src/resp_parser.h | |
parent | ee17e7af8da0c6e482bc24ad1e2197d94cba1e1f (diff) | |
download | redis-dd3b545d89468d81b29e6a1e72de7a4a38da80d1.tar.gz |
Fix an mistake in comment (#10560)
copy paste error..
Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'src/resp_parser.h')
-rw-r--r-- | src/resp_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resp_parser.h b/src/resp_parser.h index 4597efee3..0b5c8e22c 100644 --- a/src/resp_parser.h +++ b/src/resp_parser.h @@ -68,10 +68,10 @@ typedef struct ReplyParserCallbacks { /* Called when the parser reaches a double (','), which is passed as an argument 'val' */ void (*double_callback)(void *ctx, double val, const char *proto, size_t proto_len); - /* Called when the parser reaches a big number (','), which is passed as 'str' along with its length 'len' */ + /* Called when the parser reaches a big number ('('), which is passed as 'str' along with its length 'len' */ void (*big_number_callback)(void *ctx, const char *str, size_t len, const char *proto, size_t proto_len); - /* Called when the parser reaches a string, which is passed as 'str' along with its 'format' and length 'len' */ + /* Called when the parser reaches a string ('='), which is passed as 'str' along with its 'format' and length 'len' */ void (*verbatim_string_callback)(void *ctx, const char *format, const char *str, size_t len, const char *proto, size_t proto_len); /* Called when the parser reaches an attribute ('|'). The attribute length is passed as an argument 'len' */ |