Browse files

Fix crash when chaining brpoplpush with other blocking commands.

  • Loading branch information...
1 parent b565670 commit c47d152c8d96415de1af994b1a4bb3e0347caef3 @hampus committed Sep 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/t_list.c
View
2 src/t_list.c
@@ -643,7 +643,7 @@ void lremCommand(redisClient *c) {
void rpoplpushHandlePush(redisClient *origclient, redisClient *c, robj *dstkey, robj *dstobj, robj *value) {
robj *aux;
- if (!handleClientsWaitingListPush(c,dstkey,value)) {
+ if (!handleClientsWaitingListPush(origclient,dstkey,value)) {
/* Create the list if the key does not exist */
if (!dstobj) {
dstobj = createZiplistObject();

0 comments on commit c47d152

Please sign in to comment.