diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-06-05 10:27:48 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-06-05 10:27:48 +0300 |
commit | 58dab5649fcc2cc63f5a29df83f783e154d7fa22 (patch) | |
tree | e223f86e37cd9d2d1422fc9af4bc1cd8075d49a5 /redis_cluster.c | |
parent | 890ee0e656e545b18179cf247db94a33179ce1ab (diff) |
Store auth information in cluster->flags->auth
Diffstat (limited to 'redis_cluster.c')
-rw-r--r-- | redis_cluster.c | 2 |
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; |