]> source.dussan.org Git - rspamd.git/commitdiff
Stop processing headers in parts.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 11 Nov 2014 15:58:03 +0000 (15:58 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 11 Nov 2014 15:58:03 +0000 (15:58 +0000)
src/libmime/message.c

index f4ab2211f08363c992307d5ee5cb411c0396e7fb..ce29ee8c65df2ad8c0ed9afa1321627ae9a975bd 100644 (file)
@@ -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",