summaryrefslogtreecommitdiff
path: root/src/modules/testmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/testmodule.c')
-rw-r--r--src/modules/testmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/testmodule.c b/src/modules/testmodule.c
index 8ab8c4ea3..79be2fb82 100644
--- a/src/modules/testmodule.c
+++ b/src/modules/testmodule.c
@@ -157,7 +157,7 @@ int TestUnlink(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {
int NotifyCallback(RedisModuleCtx *ctx, int type, const char *event, RedisModuleString *key) {
// Increment a counter on the notifications:
// for each key notified we increment a counter
- RedisModule_Log(ctx, "notice", "Got event type %d, event %s, key %s\n", type, event, RedisModule_StringPtrLen(key, NULL));
+ RedisModule_Log(ctx, "notice", "Got event type %d, event %s, key %s", type, event, RedisModule_StringPtrLen(key, NULL));
RedisModule_Call(ctx, "HINCRBY", "csc", "notifications", key, "1");
return REDISMODULE_OK;