Skip to content

Commit

Permalink
Reply with single null bulk for unsuccesful BRPOPLPUSH
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Jan 31, 2011
1 parent 71791e7 commit 669f302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t_list.c
Expand Up @@ -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]);
Expand Down

0 comments on commit 669f302

Please sign in to comment.