Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
08fdef4b
Commit
08fdef4b
authored
Mar 31, 2020
by
antirez
Browse files
Fix RM_Call() stale comment due to cut&paste.
parent
26b79ca1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
08fdef4b
...
@@ -3341,9 +3341,7 @@ RedisModuleCallReply *RM_Call(RedisModuleCtx *ctx, const char *cmdname, const ch
...
@@ -3341,9 +3341,7 @@ RedisModuleCallReply *RM_Call(RedisModuleCtx *ctx, const char *cmdname, const ch
}
}
call(c,call_flags);
call(c,call_flags);
/* Convert the result of the Redis command into a suitable Lua type.
/* Convert the result of the Redis command into a module reply. */
* The first thing we need is to create a single string from the client
* output buffers. */
sds proto = sdsnewlen(c->buf,c->bufpos);
sds proto = sdsnewlen(c->buf,c->bufpos);
c->bufpos = 0;
c->bufpos = 0;
while(listLength(c->reply)) {
while(listLength(c->reply)) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment