diff options
author | michael-grunder <michael.grunder@gmail.com> | 2017-04-29 01:56:07 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2017-04-29 01:56:07 +0300 |
commit | b3d00dd3902eac1a76404329974e90207e2ff181 (patch) | |
tree | 9cdd30a5f9e5206d3d5f0bfc46fcafd2578aa782 /library.h | |
parent | 0eaeae0f4678243a158287582ad09f68b756846b (diff) |
Replace redis_cmd_format_static with redis_spprintf
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |