diff options
Diffstat (limited to 'src/scripting.c')
-rw-r--r-- | src/scripting.c | 3 |
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); |