]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Lowercase words
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Oct 2017 06:33:11 +0000 (07:33 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 18 Oct 2017 10:16:58 +0000 (12:16 +0200)
MFH: rspamd-1.6

src/libmime/message.c

index a22f51912963d6b8ad379cac315bed8d62f5f9f8..08598206481deb005f974368da394ff6795ee485 100644 (file)
@@ -258,14 +258,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;