diff --git a/src/smax.c b/src/smax.c index 8acc0fb..290ce9c 100644 --- a/src/smax.c +++ b/src/smax.c @@ -1380,7 +1380,7 @@ int smaxRead(PullRequest *req, int channel) { // Call script status = redisxSendArrayRequestAsync(cl, args, NULL, n); - if(channel != REDISX_PIPELINE_CHANNEL) if(!status) reply = redisxReadReplyAsync(cl); + if(channel != REDISX_PIPELINE_CHANNEL) if(!status) reply = redisxReadReplyAsync(cl, &status); redisxUnlockClient(cl);