Commit cdc0e9bf authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo
Browse files

Merge pull request #2318 from mattcollier/patch-1

Fix redis-cli CSV NIL output
parents 6502947a 6ec5f1f7
...@@ -518,7 +518,7 @@ static sds cliFormatReplyCSV(redisReply *r) { ...@@ -518,7 +518,7 @@ static sds cliFormatReplyCSV(redisReply *r) {
out = sdscatrepr(out,r->str,r->len); out = sdscatrepr(out,r->str,r->len);
break; break;
case REDIS_REPLY_NIL: case REDIS_REPLY_NIL:
out = sdscat(out,"NIL\n"); out = sdscat(out,"NIL");
break; break;
case REDIS_REPLY_ARRAY: case REDIS_REPLY_ARRAY:
for (i = 0; i < r->elements; i++) { for (i = 0; i < r->elements; i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment