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
7698316f
Commit
7698316f
authored
Mar 31, 2020
by
antirez
Browse files
Fix RM_Call() stale comment due to cut&paste.
parent
f6d5996e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
7698316f
...
@@ -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