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>2020-06-05 10:27:48 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-06-05 10:27:48 +0300
commit58dab5649fcc2cc63f5a29df83f783e154d7fa22 (patch)
treee223f86e37cd9d2d1422fc9af4bc1cd8075d49a5 /redis_cluster.c
parent890ee0e656e545b18179cf247db94a33179ce1ab (diff)
Store auth information in cluster->flags->auth
Diffstat (limited to 'redis_cluster.c')
-rw-r--r--redis_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_cluster.c b/redis_cluster.c
index 0fc94fe3..6b3dfa5e 100644
--- a/redis_cluster.c
+++ b/redis_cluster.c
@@ -370,7 +370,7 @@ static void redis_cluster_init(redisCluster *c, HashTable *ht_seeds, double time
cluster_validate_args(timeout, read_timeout, ht_seeds);
if (auth && auth_len > 0) {
- c->auth = zend_string_init(auth, auth_len, 0);
+ c->flags->auth = zend_string_init(auth, auth_len, 0);
}
c->timeout = timeout;