diff options
author | Hampus Wessman <hampus.wessman@gmail.com> | 2011-09-07 19:08:48 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-09-12 10:05:32 +0200 |
commit | cbf01c0e016655eea5da698dc9c33e396c3fa9cd (patch) | |
tree | 2584ce6054ee889ec5a34edc7dd5a3dd397ad28a | |
parent | 214cf637303ecc942a5909621be32a8ca7434ebf (diff) | |
download | redis-cbf01c0e016655eea5da698dc9c33e396c3fa9cd.tar.gz |
Fix crash when chaining brpoplpush with other blocking commands.
-rw-r--r-- | src/t_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_list.c b/src/t_list.c index f3ae8d5c0..8d77d3d5d 100644 --- a/src/t_list.c +++ b/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(); |