From 17ebce2fac2e0ede5ad02be0d19810a14205bcd0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 11 Nov 2014 15:58:03 +0000 Subject: [PATCH] Stop processing headers in parts. --- src/libmime/message.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libmime/message.c b/src/libmime/message.c index f4ab2211f..ce29ee8c6 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -973,12 +973,6 @@ process_text_part (struct rspamd_task *task, debug_task ("skip attachments for checking as text parts"); return; } - - raw_headers = g_mime_object_get_headers (GMIME_OBJECT (part)); - if (raw_headers) { - process_raw_headers (task, raw_headers); - g_free (raw_headers); - } #endif if (g_mime_content_type_is_type (type, "text", -- 2.39.5