Commit c184b32d authored by Itamar Haber's avatar Itamar Haber
Browse files

Uses addReplyBulkCString


Signed-off-by: default avatarItamar Haber <itamar@redislabs.com>
parent 26d9d4ec
...@@ -1249,7 +1249,7 @@ int RM_ReplyWithStringBuffer(RedisModuleCtx *ctx, const char *buf, size_t len) { ...@@ -1249,7 +1249,7 @@ int RM_ReplyWithStringBuffer(RedisModuleCtx *ctx, const char *buf, size_t len) {
int RM_ReplyWithCString(RedisModuleCtx *ctx, const char *buf) { int RM_ReplyWithCString(RedisModuleCtx *ctx, const char *buf) {
client *c = moduleGetReplyClient(ctx); client *c = moduleGetReplyClient(ctx);
if (c == NULL) return REDISMODULE_OK; if (c == NULL) return REDISMODULE_OK;
addReplyBulkCBuffer(c,(char*)buf,strlen(buf)); addReplyBulkCString(c,(char*)buf);
return REDISMODULE_OK; return REDISMODULE_OK;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment