From: Vsevolod Stakhov Date: Tue, 2 May 2017 13:57:59 +0000 (+0100) Subject: Revert "[Minor] Fix build with pcre2" X-Git-Tag: 1.5.8~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96533faa0f815ba97f2e5b656ffd48b5f7068693;p=rspamd.git Revert "[Minor] Fix build with pcre2" This reverts commit a8d06b734a7006c01b65e49aec5e429afe615442. --- diff --git a/src/libutil/map.c b/src/libutil/map.c index 57c84e37c..97a982797 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -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