format code

This commit is contained in:
LingZhaoHui 2023-05-10 22:49:47 +08:00
parent e6fe5045cb
commit 8df4a09922
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC

View File

@ -1,4 +1,3 @@
#include <stdio.h> #include <stdio.h>
#include "redis-acl.h" #include "redis-acl.h"
#include "redismodule.h" #include "redismodule.h"
@ -49,7 +48,6 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
create_users(ctx); create_users(ctx);
filter = RedisModule_RegisterCommandFilter(ctx, AuthFilter_CommandFilter, 0); filter = RedisModule_RegisterCommandFilter(ctx, AuthFilter_CommandFilter, 0);
if (filter == NULL) { if (filter == NULL) {
return REDISMODULE_ERR; return REDISMODULE_ERR;