]> git.saurik.com Git - redis.git/commitdiff
Fixed issue 92 in redis: redis-cli (nil) return value lacks CR/LF
authorantirez <antirez@gmail.com>
Tue, 10 Nov 2009 09:26:09 +0000 (10:26 +0100)
committerantirez <antirez@gmail.com>
Tue, 10 Nov 2009 09:26:09 +0000 (10:26 +0100)
redis-cli.c

index 52ef63b5f90e90439f5c3681ba019e66c26bbd6f..2ec17541a4a039eba9bc1c43ad276c1acf820e07 100644 (file)
@@ -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);