From: Vsevolod Stakhov Date: Mon, 23 Feb 2015 17:42:16 +0000 (+0000) Subject: Really add normalized words. X-Git-Tag: 0.9.0~632 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4911bb0f6c4e1577414afdb99a04642779093209;p=thirdparty%2Frspamd.git Really add normalized words. --- diff --git a/src/libmime/message.c b/src/libmime/message.c index e6d27563b8..3786219ef4 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) {