]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Disable signatures detection as it breaks stuff.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Jul 2015 18:07:12 +0000 (19:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 14 Jul 2015 18:07:12 +0000 (19:07 +0100)
src/libstat/tokenizers/tokenizers.c

index d06afa055f17998c79c1edc201f281c377684207..b54c890234397d1f93699978583baaf0d5371d49 100644 (file)
@@ -318,7 +318,7 @@ rspamd_tokenize_text (gchar *text, gsize len, gboolean is_utf,
 
        res = g_array_sized_new (FALSE, FALSE, sizeof (rspamd_fstring_t), 128);
 
-       while (func (&buf, &pos, &token, &cur, is_utf, &l, check_signature)) {
+       while (func (&buf, &pos, &token, &cur, is_utf, &l, FALSE)) {
                if (l == 0 || (min_len > 0 && l < min_len)) {
                        token.begin = pos;
                        continue;