summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-11-11 10:34:05 +0100
committerantirez <antirez@gmail.com>2015-11-17 15:43:21 +0100
commit36392dd86732587ee01516f51de49a3cdc634652 (patch)
tree43d4c5f4a8becf336264ac65acc68c73aa06da99 /src/scripting.c
parent3a04cb05eea3799a3f10ec97745c172aeebef071 (diff)
downloadredis-36392dd86732587ee01516f51de49a3cdc634652.tar.gz
Lua debugger: added comment about helper functions.
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripting.c b/src/scripting.c
index 88d71afcd..cee6397f7 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -1794,6 +1794,9 @@ char *ldbRedisProtocolToHuman(sds *o, char *reply) {
return p;
}
+/* The following functions are helpers for ldbRedisProtocolToHuman(), each
+ * take care of a given Redis return type. */
+
char *ldbRedisProtocolToHuman_Int(sds *o, char *reply) {
char *p = strchr(reply+1,'\r');
*o = sdscatlen(*o,reply+1,p-reply-1);