diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-11-02 19:13:33 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-11-02 19:13:33 +0300 |
commit | 6cccbd1309b26432148f53cd3213a1539f2be91a (patch) | |
tree | 6212c5af50ce35524b185a7124089f231d35d7e4 /cluster_library.c | |
parent | 082a1d6d88fe5ccb7ce296d4fab720d49ed82a0f (diff) |
WIP: php7 compatibility
Redefine add_assoc_long + add_assoc_double
Diffstat (limited to 'cluster_library.c')
-rw-r--r-- | cluster_library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.c b/cluster_library.c index e8ccbe66..c4290968 100644 --- a/cluster_library.c +++ b/cluster_library.c @@ -2432,11 +2432,11 @@ int mbulk_resp_loop_zipdbl(RedisSock *redis_sock, zval *z_result, zval *z = NULL; if (redis_unserialize(redis_sock,key,key_len, &z TSRMLS_CC)) { convert_to_string(z); - add_assoc_double_ex(z_result, Z_STRVAL_P(z), 1+Z_STRLEN_P(z), atof(line)); + add_assoc_double_ex(z_result, Z_STRVAL_P(z), Z_STRLEN_P(z), atof(line)); zval_dtor(z); efree(z); } else { - add_assoc_double_ex(z_result, key, 1+key_len, atof(line)); + add_assoc_double_ex(z_result, key, key_len, atof(line)); } /* Free our key and line */ |