]> source.dussan.org Git - rspamd.git/commitdiff
Revert "[Minor] Fix build with pcre2"
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 May 2017 13:57:59 +0000 (14:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 May 2017 13:57:59 +0000 (14:57 +0100)
This reverts commit a8d06b734a7006c01b65e49aec5e429afe615442.

src/libutil/map.c

index 57c84e37cdd96ed3ba284bd2b8e4142e10b1da7d..97a982797267aee727b325ebc0eed7dfdc9e681f 100644 (file)
@@ -2290,7 +2290,7 @@ rspamd_re_map_insert_helper (gpointer st, gconstpointer key, gconstpointer value
        }
 #else
        if (pcre_flags & PCRE_FLAG(UTF)) {
-               re_map->map_flags |= RSPAMD_REGEXP_FLAG_UTF;
+               re_map->has_utf = TRUE;
        }
 #endif