diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example-redictmoduleapi.c (renamed from examples/example-redismoduleapi.c) | 4 |
1 files changed, 2 insertions, 2 deletions
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; |