Lua debugger: added comment about helper functions.
This commit is contained in:
parent
3a04cb05ee
commit
36392dd867
@ -1794,6 +1794,9 @@ char *ldbRedisProtocolToHuman(sds *o, char *reply) {
|
|||||||
return p;
|
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 *ldbRedisProtocolToHuman_Int(sds *o, char *reply) {
|
||||||
char *p = strchr(reply+1,'\r');
|
char *p = strchr(reply+1,'\r');
|
||||||
*o = sdscatlen(*o,reply+1,p-reply-1);
|
*o = sdscatlen(*o,reply+1,p-reply-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user