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:
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;
}