From: antirez Date: Sun, 1 Nov 2009 14:31:54 +0000 (+0100) Subject: redis-cli now makes clear when the returned string is an integer X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/e2aba0f9ec23d00610b315f8163d7a0ec255c370 redis-cli now makes clear when the returned string is an integer --- diff --git a/redis-cli.c b/redis-cli.c index 78372ec6..b292d2da 100644 --- a/redis-cli.c +++ b/redis-cli.c @@ -238,6 +238,7 @@ static int cliReadReply(int fd) { cliReadSingleLineReply(fd); return 1; case '+': + return cliReadSingleLineReply(fd); case ':': printf("(integer) "); return cliReadSingleLineReply(fd);