summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:22:30 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-22 21:45:18 +0100
commitb76dffa81f15f4a637bd29c96067ec9743f154e7 (patch)
tree36412b395d011bab3e0f5d5da8df4ef49fb545aa /examples
parentca04e222c11b0268208464950d923a1ee880cc61 (diff)
fixup! all: rename output files
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
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;