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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 7d1e99a2..64166cc6 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -239,7 +239,7 @@ cluster_read_sock_resp(RedisSock *redis_sock, REDIS_REPLY_TYPE type,
case TYPE_MULTIBULK:
r->elements = len;
if (len != (size_t)-1) {
- r->element = ecalloc(len, sizeof(clusterReply*)*len);
+ r->element = ecalloc(len, sizeof(clusterReply*));
cluster_multibulk_resp_recursive(redis_sock, len, r->element,
line_reply != NULL, &err);
}