diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-01 18:19:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-01 18:19:13 +0400 |
commit | 5a225ccd5135cb52644a33563ca826b01c2deadb (patch) | |
tree | 87047235d22588e12e749586c11ff63d18be3b9b /src/message.c | |
parent | e43699510542c7e4f720b6fc53e2efb76a7d57cd (diff) | |
download | rspamd-5a225ccd5135cb52644a33563ca826b01c2deadb.tar.gz rspamd-5a225ccd5135cb52644a33563ca826b01c2deadb.zip |
* Assume all text/* content types as text/plain
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index ac3dcb88f..7a2e80e78 100644 --- a/src/message.c +++ b/src/message.c @@ -586,7 +586,7 @@ process_text_part (struct worker_task *task, GByteArray *part_content, GMimeCont memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_tree_destroy, text_part->urls); task->text_parts = g_list_prepend (task->text_parts, text_part); } - else if (g_mime_content_type_is_type (type, "text", "plain")) { + else if (g_mime_content_type_is_type (type, "text", "*")) { debug_task ("got urls from text/plain part"); text_part = memory_pool_alloc0 (task->task_pool, sizeof (struct mime_text_part)); |