summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-03-31 10:27:47 +0200
committerantirez <antirez@gmail.com>2020-03-31 10:27:47 +0200
commit7698316fda98018ee56c010e87a6ded46b79ad67 (patch)
tree82990f90d831ca85b40853ed2d8ec2e7204f5767
parentf6d5996ead002350558eb614f275553432f1eb19 (diff)
downloadredis-7698316fda98018ee56c010e87a6ded46b79ad67.tar.gz
Fix RM_Call() stale comment due to cut&paste.
-rw-r--r--src/module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/module.c b/src/module.c
index 6f61a5ca8..7d9eb3719 100644
--- a/src/module.c
+++ b/src/module.c
@@ -3341,9 +3341,7 @@ RedisModuleCallReply *RM_Call(RedisModuleCtx *ctx, const char *cmdname, const ch
}
call(c,call_flags);
- /* Convert the result of the Redis command into a suitable Lua type.
- * The first thing we need is to create a single string from the client
- * output buffers. */
+ /* Convert the result of the Redis command into a module reply. */
sds proto = sdsnewlen(c->buf,c->bufpos);
c->bufpos = 0;
while(listLength(c->reply)) {