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-11 23:32:19 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2016-10-11 23:32:19 +0300
commitc2ae622ed8b4bb0d91fd26155faba413516ab6b7 (patch)
treea16707972dd8751670a738ce181c529178eee226 /cluster_library.h
parent75183064b541ddbc948843ca48b46614a500a43b (diff)
WIP: php7 compatibility
Redefine add_next_index_stringl
Diffstat (limited to 'cluster_library.h')
-rw-r--r--cluster_library.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.h b/cluster_library.h
index fc017c4f..f4947511 100644
--- a/cluster_library.h
+++ b/cluster_library.h
@@ -116,9 +116,9 @@
/* Helper to return a string value */
#define CLUSTER_RETURN_STRING(c, str, len) \
if(CLUSTER_IS_ATOMIC(c)) { \
- RETURN_STRINGL(str, len); \
+ RETVAL_STRINGL(str, len); \
} else { \
- add_next_index_stringl(c->multi_resp, str, len, 0); \
+ add_next_index_stringl(c->multi_resp, str, len); \
} \
/* Return a LONG value */