diff --git a/src/module.c b/src/module.c index 636202a9fa..8507e02645 100644 --- a/src/module.c +++ b/src/module.c @@ -3027,7 +3027,7 @@ char *RM_StringDMA(RedisModuleKey *key, size_t *len, int mode) { return key->value->ptr; } -/* If the string is open for writing and is of string type, resize it, padding +/* If the key is open for writing and is of string type, resize it, padding * with zero bytes if the new length is greater than the old one. * * After this call, RM_StringDMA() must be called again to continue diff --git a/src/redismodule.h b/src/redismodule.h index dae02531b3..3157891948 100644 --- a/src/redismodule.h +++ b/src/redismodule.h @@ -650,7 +650,6 @@ REDISMODULE_API int (*RedisModule_ReplyWithArray)(RedisModuleCtx *ctx, long len) REDISMODULE_API int (*RedisModule_ReplyWithMap)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR; REDISMODULE_API int (*RedisModule_ReplyWithSet)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR; REDISMODULE_API int (*RedisModule_ReplyWithAttribute)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR; -REDISMODULE_API int (*RedisModule_ReplyWithPush)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR; REDISMODULE_API int (*RedisModule_ReplyWithNullArray)(RedisModuleCtx *ctx) REDISMODULE_ATTR; REDISMODULE_API int (*RedisModule_ReplyWithEmptyArray)(RedisModuleCtx *ctx) REDISMODULE_ATTR; REDISMODULE_API void (*RedisModule_ReplySetArrayLength)(RedisModuleCtx *ctx, long len) REDISMODULE_ATTR; @@ -934,7 +933,6 @@ static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int REDISMODULE_GET_API(ReplyWithMap); REDISMODULE_GET_API(ReplyWithSet); REDISMODULE_GET_API(ReplyWithAttribute); - REDISMODULE_GET_API(ReplyWithPush); REDISMODULE_GET_API(ReplyWithNullArray); REDISMODULE_GET_API(ReplyWithEmptyArray); REDISMODULE_GET_API(ReplySetArrayLength);