From e4fe6e037f6d53344bdd560d1181186df156e55e Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Sun, 15 Dec 2024 11:57:56 +0100 Subject: [PATCH] Update for upstream RedisX API tweaks --- src/smax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);