aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_headers.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-09 16:37:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-09 16:37:34 +0000
commitd821fa1eb3db12446ce83dd78d4563b0a5c75fd8 (patch)
tree0a54711780d4055e56df94fd691d3dd78deda28b /src/libmime/mime_headers.c
parent715e1bd6a996cb608b4e740ff5d8e6ca876fa16c (diff)
downloadrspamd-d821fa1eb3db12446ce83dd78d4563b0a5c75fd8.tar.gz
rspamd-d821fa1eb3db12446ce83dd78d4563b0a5c75fd8.zip
[Feature] Store all received headers in lua
Diffstat (limited to 'src/libmime/mime_headers.c')
-rw-r--r--src/libmime/mime_headers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c
index 35c13d1f3..bff84efcc 100644
--- a/src/libmime/mime_headers.c
+++ b/src/libmime/mime_headers.c
@@ -37,6 +37,7 @@ rspamd_mime_header_check_special (struct rspamd_task *task,
case 0x88705DC4D9D61ABULL: /* received */
recv = rspamd_mempool_alloc0 (task->task_pool,
sizeof (struct received_header));
+ recv->hdr = rh;
rspamd_smtp_recieved_parse (task, rh->decoded,
strlen (rh->decoded), recv);
g_ptr_array_add (task->received, recv);