diff --git a/src/modules/helloblock.c b/src/modules/helloblock.c index 6bba17d33..b90ccaa50 100644 --- a/src/modules/helloblock.c +++ b/src/modules/helloblock.c @@ -77,7 +77,7 @@ void *HelloBlock_ThreadMain(void *arg) { /* An example blocked client disconnection callback. * * Note that in the case of the HELLO.BLOCK command, the blocked client is now - * owned by the thread calling sleep(). In this speciifc case, there is not + * owned by the thread calling sleep(). In this specific case, there is not * much we can do, however normally we could instead implement a way to * signal the thread that the client disconnected, and sleep the specified * amount of seconds with a while loop calling sleep(1), so that once we diff --git a/src/modules/hellocluster.c b/src/modules/hellocluster.c index 75d18f3e2..da3964d04 100644 --- a/src/modules/hellocluster.c +++ b/src/modules/hellocluster.c @@ -69,7 +69,7 @@ int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int RedisModule_ReplyWithLongLong(ctx,port); } RedisModule_FreeClusterNodesList(ids); - return RedisModule_ReplyWithSimpleString(ctx, "OK"); + return REDISMODULE_OK; } /* Callback for message MSGTYPE_PING */