From 060f6be6bf2976bad5bd6007d21e7e6ff081c92b Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 10 Nov 2009 10:26:09 +0100 Subject: [PATCH] Fixed issue 92 in redis: redis-cli (nil) return value lacks CR/LF --- redis-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-cli.c b/redis-cli.c index 52ef63b5..2ec17541 100644 --- a/redis-cli.c +++ b/redis-cli.c @@ -191,7 +191,7 @@ static int cliReadBulkReply(int fd) { bulklen = atoi(replylen); if (bulklen == -1) { sdsfree(replylen); - printf("(nil)"); + printf("(nil)\n"); return 0; } reply = zmalloc(bulklen); -- 2.47.2