aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 17:33:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-27 17:33:56 +0100
commit6e00dea760aca106de1021e5a9740b9511a6e0b2 (patch)
treedc5f5a67564d419f67ae03e63db45c8b81b822be /src/plugins/spf.c
parentce9a26d98932473c449e5d4bf39dbb93a6d7a924 (diff)
downloadrspamd-6e00dea760aca106de1021e5a9740b9511a6e0b2.tar.gz
rspamd-6e00dea760aca106de1021e5a9740b9511a6e0b2.zip
Refactor and unify function names.
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index f3c8226e4..8c477cca9 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -151,14 +151,14 @@ spf_module_config (struct rspamd_config *cfg)
}
}
- register_symbol (cfg->cache,
+ rspamd_symbols_cache_add_symbol_normal (cfg->cache,
spf_module_ctx->symbol_fail,
1,
spf_symbol_callback,
NULL);
- register_virtual_symbol (cfg->cache, spf_module_ctx->symbol_softfail, 1);
- register_virtual_symbol (cfg->cache, spf_module_ctx->symbol_neutral, 1);
- register_virtual_symbol (cfg->cache, spf_module_ctx->symbol_allow, 1);
+ rspamd_symbols_cache_add_symbol_virtual (cfg->cache, spf_module_ctx->symbol_softfail, 1);
+ rspamd_symbols_cache_add_symbol_virtual (cfg->cache, spf_module_ctx->symbol_neutral, 1);
+ rspamd_symbols_cache_add_symbol_virtual (cfg->cache, spf_module_ctx->symbol_allow, 1);
spf_module_ctx->spf_hash = rspamd_lru_hash_new (
cache_size,