Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix crash when chaining brpoplpush with other blocking commands.

  • Loading branch information...
commit c47d152c8d96415de1af994b1a4bb3e0347caef3 1 parent b565670
@hampus authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.