summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adapters/redictmoduleapi.h (renamed from adapters/redismoduleapi.h)2
-rw-r--r--examples/example-redictmoduleapi.c (renamed from examples/example-redismoduleapi.c)4
-rw-r--r--ssl.c2
-rw-r--r--test.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/adapters/redismoduleapi.h b/adapters/redictmoduleapi.h
index b9bf922..1a134f5 100644
--- a/adapters/redismoduleapi.h
+++ b/adapters/redictmoduleapi.h
@@ -12,7 +12,7 @@
#ifndef __HIREDIS_REDISMODULEAPI_H__
#define __HIREDIS_REDISMODULEAPI_H__
-#include "redismodule.h"
+#include "redictmodule.h"
#include "../async.h"
#include "../hiredict.h"
diff --git a/examples/example-redismoduleapi.c b/examples/example-redictmoduleapi.c
index 37bba9c..c95546c 100644
--- a/examples/example-redismoduleapi.c
+++ b/examples/example-redictmoduleapi.c
@@ -11,7 +11,7 @@
#include <hiredict.h>
#include <async.h>
-#include <adapters/redismoduleapi.h>
+#include <adapters/redictmoduleapi.h>
void debugCallback(redisAsyncContext *c, void *r, void *privdata) {
(void)privdata; //unused
@@ -67,7 +67,7 @@ void disconnectCallback(const redisAsyncContext *c, int status) {
*/
int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {
- int ret = RedisModule_Init(ctx, "example-redismoduleapi", 1, REDISMODULE_APIVER_1);
+ int ret = RedisModule_Init(ctx, "example-redictmoduleapi", 1, REDISMODULE_APIVER_1);
if (ret != REDISMODULE_OK) {
printf("error module init \n");
return REDISMODULE_ERR;
diff --git a/ssl.c b/ssl.c
index 60a9695..a2c3b07 100644
--- a/ssl.c
+++ b/ssl.c
@@ -40,7 +40,7 @@
#include "win32.h"
#include "async_private.h"
-#include "hiredis_ssl.h"
+#include "hiredict_ssl.h"
#define OPENSSL_1_1_0 0x10100000L
diff --git a/test.c b/test.c
index 72f94ef..02a2197 100644
--- a/test.c
+++ b/test.c
@@ -28,7 +28,7 @@
#include "async.h"
#include "adapters/poll.h"
#ifdef HIREDIS_TEST_SSL
-#include "hiredis_ssl.h"
+#include "hiredict_ssl.h"
#endif
#ifdef HIREDIS_TEST_ASYNC
#include "adapters/libevent.h"
@@ -2326,7 +2326,7 @@ int main(int argc, char **argv) {
.port = 6379
},
.unix_sock = {
- .path = "/tmp/redis.sock"
+ .path = "/tmp/redict.sock"
}
};
int throughput = 1;