Skip to content

Commit 6dacd60

Browse files
committed
1 parent acaf961 commit 6dacd60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cluster_library.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,8 @@ PHP_REDIS_API redisCluster *cluster_create(double timeout, double read_timeout,
820820
c->read_timeout = read_timeout;
821821
c->failover = failover;
822822
c->persistent = persistent;
823+
c->err = NULL;
824+
c->err_len = 0;
823825

824826
/* Set up our waitms based on timeout */
825827
c->waitms = (long)(1000 * timeout);

0 commit comments

Comments
 (0)