aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-24 13:10:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-24 13:10:35 +0100
commit301eb5c533cdffb010f46c04e0ec6e94103518bd (patch)
treed355622475f5f981b7947f808b515417a0ae787e /src/plugins
parentf40a090c9e01963d121861fb5cddf0f951dd2de1 (diff)
downloadrspamd-301eb5c533cdffb010f46c04e0ec6e94103518bd.tar.gz
rspamd-301eb5c533cdffb010f46c04e0ec6e94103518bd.zip
[Feature] Improve SPF domain detection logic
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index 8d666b93a..153422f51 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -425,7 +425,7 @@ spf_symbol_callback (struct rspamd_task *task, void *unused)
return;
}
- domain = get_spf_domain (task);
+ domain = rspamd_spf_get_domain (task);
if (domain) {
if ((l =
rspamd_lru_hash_lookup (spf_module_ctx->spf_hash, domain,