From cfc81c90fda6a9ba574fc61f1bfe9951ce5d933e Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Sat, 18 Dec 2021 11:32:31 -0800 Subject: Fix typo/bug in cluster_scan_resp (#2045) --- cluster_library.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cluster_library.c') diff --git a/cluster_library.c b/cluster_library.c index 12da1877..6f63d9c7 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -2169,8 +2169,8 @@ PHP_REDIS_API int cluster_scan_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster * } // Read the BULK size - if (cluster_check_response(c, &c->reply_type),0 || - c->reply_type != TYPE_BULK) + if (cluster_check_response(c, &c->reply_type) || + c->reply_type != TYPE_BULK) { return FAILURE; } -- cgit v1.2.3