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:
authormichael-grunder <michael.grunder@gmail.com>2017-04-29 01:56:07 +0300
committermichael-grunder <michael.grunder@gmail.com>2017-04-29 01:56:07 +0300
commitb3d00dd3902eac1a76404329974e90207e2ff181 (patch)
tree9cdd30a5f9e5206d3d5f0bfc46fcafd2578aa782 /library.h
parent0eaeae0f4678243a158287582ad09f68b756846b (diff)
Replace redis_cmd_format_static with redis_spprintf
Diffstat (limited to 'library.h')
-rw-r--r--library.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/library.h b/library.h
index 6078b5fa..ee64cede 100644
--- a/library.h
+++ b/library.h
@@ -1,8 +1,9 @@
#ifndef REDIS_LIBRARY_H
#define REDIS_LIBRARY_H
+/* Non cluster command helper */
#define REDIS_SPPRINTF(ret, kw, fmt, ...) \
- redis_spprintf(redis_sock, slot TSRMLS_CC, ret, kw, fmt, ##__VA_ARGS__)
+ redis_spprintf(redis_sock, NULL TSRMLS_CC, ret, kw, fmt, ##__VA_ARGS__)
#define REDIS_CMD_APPEND_SSTR_STATIC(sstr, str) \
redis_cmd_append_sstr(sstr, str, sizeof(str)-1);