summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-09-17 16:24:52 +0200
committerantirez <antirez@gmail.com>2018-09-17 16:24:52 +0200
commit12fd92bf67d51dbdd7d993606b8ac5d365a20174 (patch)
tree13a396a3fa9e3c891098c73322fda4ad0b44d4d2
parent9f43264f861b30546c1af90345b153241de1f118 (diff)
parent54871412c29b799aa324fed2b0ae091e769737ad (diff)
downloadredis-12fd92bf67d51dbdd7d993606b8ac5d365a20174.tar.gz
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r--src/modules/helloblock.c2
-rw-r--r--src/modules/hellocluster.c2
2 files changed, 2 insertions, 2 deletions
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 */