From c47d152c8d96415de1af994b1a4bb3e0347caef3 Mon Sep 17 00:00:00 2001 From: Hampus Wessman Date: Wed, 7 Sep 2011 19:08:48 +0200 Subject: [PATCH] Fix crash when chaining brpoplpush with other blocking commands. --- src/t_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_list.c b/src/t_list.c index 5427293f..279bcaf5 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(); -- GitLab