From a034975829429befe5adafe0d8b56c9b764e034b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 22 Oct 2014 16:52:40 +0100 Subject: [PATCH] Properly set address for PTR components. --- src/libserver/spf.c | 1 - src/ucl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libserver/spf.c b/src/libserver/spf.c index 67b119e12..b8f5cbc50 100644 --- a/src/libserver/spf.c +++ b/src/libserver/spf.c @@ -806,7 +806,6 @@ parse_spf_ptr (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_PTR; cb->in_include = rec->in_include; cb->ptr_host = host; diff --git a/src/ucl b/src/ucl index 8b0d3d41f..332add582 160000 --- a/src/ucl +++ b/src/ucl @@ -1 +1 @@ -Subproject commit 8b0d3d41ff15a84a1fa264771c9e26c2df250922 +Subproject commit 332add582cb1c64d7522358048dfac9ba4754bf6 -- 2.39.5