Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2021-12-18 22:32:31 +0300
committerGitHub <noreply@github.com>2021-12-18 22:32:31 +0300
commitcfc81c90fda6a9ba574fc61f1bfe9951ce5d933e (patch)
treeb1f91f21dec0461e7e2d078c4957b75ed1febb02 /cluster_library.c
parenta8f8706e67d1463df12651912d70d074b71fd4ab (diff)
Fix typo/bug in cluster_scan_resp (#2045)
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c4
1 files changed, 2 insertions, 2 deletions
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;
}