summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-01-31 16:49:56 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-01-31 16:50:00 +0100
commit669f302e16188342041db4b671aa4cc7ea05ba50 (patch)
treee94b8fcd0cfaaced4191ae2adc6513399bb4f706
parent71791e7a8ed2de79f6bcaf2056ee6e502fcb0a65 (diff)
downloadredis-669f302e16188342041db4b671aa4cc7ea05ba50.tar.gz
Reply with single null bulk for unsuccesful BRPOPLPUSH
-rw-r--r--src/t_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_list.c b/src/t_list.c
index 4416d6fd2..f94fb425e 100644
--- a/src/t_list.c
+++ b/src/t_list.c
@@ -941,7 +941,7 @@ void brpoplpushCommand(redisClient *c) {
/* Blocking against an empty list in a multi state
* returns immediately. */
- addReply(c, shared.nullmultibulk);
+ addReply(c, shared.nullbulk);
} else {
/* The list is empty and the client blocks. */
blockForKeys(c, c->argv + 1, 1, timeout, c->argv[2]);