Use zend_string for storing RedisArray hosts

This commit is contained in:
Pavlo Yatsukhnenko
2018-12-19 10:16:54 +02:00
parent eabc5ec79f
commit 602740d35a
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ PHP_METHOD(RedisArray, unwatch);
typedef struct RedisArray_ {
int count;
char **hosts; /* array of host:port strings */
zend_string **hosts; /* array of host:port strings */
zval *redis; /* array of Redis instances */
zval *z_multi_exec; /* Redis instance to be used in multi-exec */
zend_bool index; /* use per-node index */