mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +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);
|
bulklen = atoi(replylen);
|
||||||
if (bulklen == -1) {
|
if (bulklen == -1) {
|
||||||
sdsfree(replylen);
|
sdsfree(replylen);
|
||||||
printf("(nil)");
|
printf("(nil)\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
reply = zmalloc(bulklen);
|
reply = zmalloc(bulklen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user