diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-11-30 19:17:50 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-11-30 23:01:09 +0300 |
commit | 6dacd60c0cc9acc8256566e6000b6027f47df5ef (patch) | |
tree | 307782947022deaaff74c79d2b248f75e34f00fd /cluster_library.c | |
parent | acaf961d34114fcf0f4a9ac155a4a76318872817 (diff) |
Issue #1036
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster_library.c b/cluster_library.c index 3d8e5731..44bfe673 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -820,6 +820,8 @@ PHP_REDIS_API redisCluster *cluster_create(double timeout, double read_timeout, c->read_timeout = read_timeout; c->failover = failover; c->persistent = persistent; + c->err = NULL; + c->err_len = 0; /* Set up our waitms based on timeout */ c->waitms = (long)(1000 * timeout); |