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:58 +0200 |
commit | 1d05b53fcc0e02d096f5952ae15917e544e01f7c (patch) | |
tree | f334f37732a09422b279cb43245eadbbafc15ae4 | |
parent | e1f01c9b28751d71ba0df682fb0f6b62f4db9191 (diff) | |
download | redis-1d05b53fcc0e02d096f5952ae15917e544e01f7c.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 b17bfbdc1..a40709cd4 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -638,7 +638,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(); |