Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2016-10-09 21:22:57 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2016-10-09 21:22:57 +0300
commitfa2dc4e642a777aa39bb74ecb628f398cb821447 (patch)
treeab7340a64c8fdec0fadc6be6d826d321da7300d7 /cluster_library.h
parent70a9cdc111318e116efcabd7dfdfac6cc8d541b5 (diff)
WIP: php7 compatibility
RETVAL_STRING and RETVAL_STRINGL always duplicate value
Diffstat (limited to 'cluster_library.h')
-rw-r--r--cluster_library.h2
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); \
} \