]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Properly set address for PTR components.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Oct 2014 15:52:40 +0000 (16:52 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Oct 2014 15:52:40 +0000 (16:52 +0100)
src/libserver/spf.c
src/ucl

index 67b119e126235ad781e8513e633e4fb700e6ff90..b8f5cbc5068e04be33567a922d54b9df237fd6f6 100644 (file)
@@ -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 8b0d3d41ff15a84a1fa264771c9e26c2df250922..332add582cb1c64d7522358048dfac9ba4754bf6 160000 (submodule)
--- a/src/ucl
+++ b/src/ucl
@@ -1 +1 @@
-Subproject commit 8b0d3d41ff15a84a1fa264771c9e26c2df250922
+Subproject commit 332add582cb1c64d7522358048dfac9ba4754bf6