summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-04-21 16:09:30 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-04-21 16:09:30 +0400
commitf074850e41e357aa7a2c5a86d2eef8121710cc47 (patch)
treed97856de0565360303af50d069bf2d0858219f41 /src/message.c
parentda9546194391e7d14ffe9b0c78f84892b012ff28 (diff)
downloadrspamd-f074850e41e357aa7a2c5a86d2eef8121710cc47.tar.gz
rspamd-f074850e41e357aa7a2c5a86d2eef8121710cc47.zip
* Add initial version of chartable plugin: now it can only detects mixed unicode characters
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 5ce4abb40..0c3d1ed8b 100644
--- a/src/message.c
+++ b/src/message.c
@@ -299,7 +299,7 @@ process_text_part (struct worker_task *task, GByteArray *part_content, GMimeCont
text_part = memory_pool_alloc (task->task_pool, sizeof (struct mime_text_part));
text_part->orig = convert_text_to_utf (task, part_content, type, text_part);
- text_part->content = part_content;
+ text_part->content = text_part->orig;
text_part->is_html = FALSE;
text_part->fuzzy = fuzzy_init_byte_array (text_part->content, task->task_pool);
task->text_parts = g_list_prepend (task->text_parts, text_part);