Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix crash when chaining brpoplpush with other blocking commands.

  • Loading branch information...
commit c47d152c8d96415de1af994b1a4bb3e0347caef3 1 parent b565670
Hampus Wessman authored September 07, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/t_list.c
2  src/t_list.c
@@ -643,7 +643,7 @@ void lremCommand(redisClient *c) {
643 643
 void rpoplpushHandlePush(redisClient *origclient, redisClient *c, robj *dstkey, robj *dstobj, robj *value) {
644 644
     robj *aux;
645 645
 
646  
-    if (!handleClientsWaitingListPush(c,dstkey,value)) {
  646
+    if (!handleClientsWaitingListPush(origclient,dstkey,value)) {
647 647
         /* Create the list if the key does not exist */
648 648
         if (!dstobj) {
649 649
             dstobj = createZiplistObject();

0 notes on commit c47d152

Please sign in to comment.
Something went wrong with that request. Please try again.