diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-22 16:52:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-22 16:52:40 +0100 |
commit | a034975829429befe5adafe0d8b56c9b764e034b (patch) | |
tree | 9dfff0bb2893ba390821c8ec6ebb350389a41274 | |
parent | cb274a2fd8b3b6c1f4cd6842e1cf79bb0c63d8a4 (diff) | |
download | rspamd-a034975829429befe5adafe0d8b56c9b764e034b.tar.gz rspamd-a034975829429befe5adafe0d8b56c9b764e034b.zip |
Properly set address for PTR components.
-rw-r--r-- | src/libserver/spf.c | 1 | ||||
m--------- | src/ucl | 0 |
2 files changed, 0 insertions, 1 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 -Subproject 8b0d3d41ff15a84a1fa264771c9e26c2df25092 +Subproject 332add582cb1c64d7522358048dfac9ba4754bf |