]> git.saurik.com Git - redis.git/commitdiff
redis-cli now makes clear when the returned string is an integer
authorantirez <antirez@gmail.com>
Sun, 1 Nov 2009 14:31:54 +0000 (15:31 +0100)
committerantirez <antirez@gmail.com>
Sun, 1 Nov 2009 14:31:54 +0000 (15:31 +0100)
redis-cli.c

index 78372ec640af0335c6bec20fc429c6d931ca1ff1..b292d2da265b7997b57164845d55e505610eafce 100644 (file)
@@ -238,6 +238,7 @@ static int cliReadReply(int fd) {
         cliReadSingleLineReply(fd);
         return 1;
     case '+':
+        return cliReadSingleLineReply(fd);
     case ':':
         printf("(integer) ");
         return cliReadSingleLineReply(fd);