From 36392dd86732587ee01516f51de49a3cdc634652 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 11 Nov 2015 10:34:05 +0100 Subject: [PATCH] Lua debugger: added comment about helper functions. --- src/scripting.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripting.c b/src/scripting.c index 88d71afc..cee6397f 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);