aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-22 17:11:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-22 17:11:47 +0100
commit21c84955aeac9c7f9ac9c2f8c27c804327ff2c86 (patch)
tree4049bb8f97980d630f9daa5e1d73a7bda7ec3f54
parentb8fa67e6e2434647e747212669d0fb7e406dea47 (diff)
downloadrspamd-21c84955aeac9c7f9ac9c2f8c27c804327ff2c86.tar.gz
rspamd-21c84955aeac9c7f9ac9c2f8c27c804327ff2c86.zip
Remove /0 mask for SPF mx as well.
Reported by: @citrin
-rw-r--r--src/libserver/spf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index b8f5cbc50..c30d893d1 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -855,7 +855,6 @@ parse_spf_mx (struct rspamd_task *task,
cb = rspamd_mempool_alloc (task->task_pool, sizeof (struct spf_dns_cb));
cb->rec = rec;
cb->addr = addr;
- memset (&addr->data.normal, 0, sizeof (addr->data.normal));
cb->cur_action = SPF_RESOLVE_MX;
cb->in_include = rec->in_include;
if (make_dns_request (task->resolver, task->s, task->task_pool,