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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-07-31 18:19:09 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-07-31 18:19:09 +0300
commitb624a8bfd6dad951ac319563a77cdb90559f294e (patch)
tree3741812a4cce5e759b6cb9147e4bfd7a32964009 /cluster_library.c
parent4f290ea986978aaf52a2b71059816642e4633bb5 (diff)
Fix valgrind warnings
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 344b5400..1b4eb35b 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -2036,7 +2036,7 @@ PHP_REDIS_API void cluster_info_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster
// Return our array
if(CLUSTER_IS_ATOMIC(c)) {
- RETVAL_ZVAL(z_result, 0, 1);
+ RETVAL_ZVAL(z_result, 1, 0);
} else {
add_next_index_zval(&c->multi_resp, z_result);
}