diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2015-02-02 22:47:57 +0100 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2015-02-02 22:47:57 +0100 |
commit | cdc0e9bfb55c8e285e50a50fd5e9a8723ac41cbc (patch) | |
tree | 8dd0e06b02275911a9e1d019cebb69a7b6782409 | |
parent | 6502947a8519e9109c6fa1575460290d92b48f38 (diff) | |
parent | 6ec5f1f78064264b9b33349858f8aa9157d4efe0 (diff) | |
download | redis-cdc0e9bfb55c8e285e50a50fd5e9a8723ac41cbc.tar.gz |
Merge pull request #2318 from mattcollier/patch-1
Fix redis-cli CSV NIL output
-rw-r--r-- | src/redis-cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index 3c1458742..e243db451 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -518,7 +518,7 @@ static sds cliFormatReplyCSV(redisReply *r) { out = sdscatrepr(out,r->str,r->len); break; case REDIS_REPLY_NIL: - out = sdscat(out,"NIL\n"); + out = sdscat(out,"NIL"); break; case REDIS_REPLY_ARRAY: for (i = 0; i < r->elements; i++) { |