]> git.saurik.com Git - redis.git/blobdiff - src/t_list.c
Reply with single null bulk for unsuccesful BRPOPLPUSH
[redis.git] / src / t_list.c
index 1c658353509f37bed0a12728ac7d1b54bca1835f..c9ec2e67979d549f4268dd8fa0c5c663de0c7827 100644 (file)
@@ -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]);