Skip to content

Commit 1e0b065

Browse files
committed
CID 157206
1 parent 733732a commit 1e0b065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ void redis_cluster_load(redisCluster *c, char *name, int name_len TSRMLS_DC) {
454454
} else if (Z_TYPE_P(z_value) == IS_DOUBLE) {
455455
read_timeout = Z_DVAL_P(z_value);
456456
} else if (Z_TYPE_P(z_value) == IS_LONG) {
457-
timeout = Z_LVAL_P(z_value);
457+
read_timeout = Z_LVAL_P(z_value);
458458
}
459459
}
460460

0 commit comments

Comments
 (0)