mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Fixed issue 92 in redis: redis-cli (nil) return value lacks CR/LF
This commit is contained in:
parent
bf75f580c9
commit
060f6be6bf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user