From 4911bb0f6c4e1577414afdb99a04642779093209 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 23 Feb 2015 17:42:16 +0000 Subject: Really add normalized words. --- src/libmime/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libmime/message.c b/src/libmime/message.c index e6d27563b..3786219ef 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1187,8 +1187,8 @@ rspamd_normalize_text_part (struct rspamd_task *task, } } - g_array_sized_new (FALSE, FALSE, sizeof (rspamd_fstring_t), - part->words->len); + part->normalized_words = g_array_sized_new (FALSE, FALSE, + sizeof (rspamd_fstring_t), part->words->len); for (i = 0; i < part->words->len; i ++) { w = &g_array_index (part->words, rspamd_fstring_t, i); if (stem) { -- cgit v1.2.3