]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Lowercase words
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Oct 2017 06:33:11 +0000 (07:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Oct 2017 06:33:11 +0000 (07:33 +0100)
MFH: rspamd-1.6

src/libmime/message.c

index 4381302fa72bb3bbff5e174f002e5e3493dc1433..f426c821daf67bf36166d1ed10ee965544a95f5a 100644 (file)
@@ -261,14 +261,12 @@ rspamd_extract_words (struct rspamd_task *task,
                                        temp_word = rspamd_mempool_alloc (task->task_pool, nlen);
                                        memcpy (temp_word, r, nlen);
 
-#if 0
                                        if (IS_PART_UTF (part)) {
                                                rspamd_str_lc_utf8 (temp_word, nlen);
                                        }
                                        else {
                                                rspamd_str_lc (temp_word, nlen);
                                        }
-#endif
 
                                        w->begin = temp_word;
                                        w->len = nlen;