Commit e2aba0f9 authored by antirez's avatar antirez
Browse files

redis-cli now makes clear when the returned string is an integer

parent 443c6409
...@@ -238,6 +238,7 @@ static int cliReadReply(int fd) { ...@@ -238,6 +238,7 @@ static int cliReadReply(int fd) {
cliReadSingleLineReply(fd); cliReadSingleLineReply(fd);
return 1; return 1;
case '+': case '+':
return cliReadSingleLineReply(fd);
case ':': case ':':
printf("(integer) "); printf("(integer) ");
return cliReadSingleLineReply(fd); return cliReadSingleLineReply(fd);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment