diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-10-09 21:22:57 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2016-10-09 21:22:57 +0300 |
commit | fa2dc4e642a777aa39bb74ecb628f398cb821447 (patch) | |
tree | ab7340a64c8fdec0fadc6be6d826d321da7300d7 /cluster_library.h | |
parent | 70a9cdc111318e116efcabd7dfdfac6cc8d541b5 (diff) |
WIP: php7 compatibility
RETVAL_STRING and RETVAL_STRINGL always duplicate value
Diffstat (limited to 'cluster_library.h')
-rw-r--r-- | cluster_library.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.h b/cluster_library.h index 32d248d6..fc017c4f 100644 --- a/cluster_library.h +++ b/cluster_library.h @@ -116,7 +116,7 @@ /* Helper to return a string value */ #define CLUSTER_RETURN_STRING(c, str, len) \ if(CLUSTER_IS_ATOMIC(c)) { \ - RETURN_STRINGL(str, len, 0); \ + RETURN_STRINGL(str, len); \ } else { \ add_next_index_stringl(c->multi_resp, str, len, 0); \ } \ |