aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dkim_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 15:33:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 15:33:40 +0100
commite64c5411ff18eea69861b6ea11574a39c7290b57 (patch)
tree81cdfad068f564a5bb4e64f2ec962bbbfdbc0f7a /src/plugins/dkim_check.c
parent9b6dc9034592b836915b57749aa42581e78cd9ff (diff)
downloadrspamd-e64c5411ff18eea69861b6ea11574a39c7290b57.tar.gz
rspamd-e64c5411ff18eea69861b6ea11574a39c7290b57.zip
Fix plugins registration.
Diffstat (limited to 'src/plugins/dkim_check.c')
-rw-r--r--src/plugins/dkim_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index 9e88ab310..7e430f5a6 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -223,15 +223,15 @@ dkim_module_config (struct rspamd_config *cfg)
"trusted_only option is set and no trusted domains are defined; disabling dkim module completely as it is useless in this case");
}
else {
- register_symbol (&cfg->cache,
+ register_symbol (cfg->cache,
dkim_module_ctx->symbol_reject,
1,
dkim_symbol_callback,
NULL);
- register_virtual_symbol (&cfg->cache,
+ register_virtual_symbol (cfg->cache,
dkim_module_ctx->symbol_tempfail,
1);
- register_virtual_symbol (&cfg->cache,
+ register_virtual_symbol (cfg->cache,
dkim_module_ctx->symbol_allow,
1);