diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-23 17:42:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-23 17:42:16 +0000 |
commit | 4911bb0f6c4e1577414afdb99a04642779093209 (patch) | |
tree | 8a17c3f78fd7321c7fc6a4b5e498e24a2162a7a1 /src | |
parent | 1828874e7f775987d2ce7c8ea7078210821fbc26 (diff) | |
download | rspamd-4911bb0f6c4e1577414afdb99a04642779093209.tar.gz rspamd-4911bb0f6c4e1577414afdb99a04642779093209.zip |
Really add normalized words.
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |