From: Andrew Lewis Date: Fri, 28 Apr 2017 13:27:58 +0000 (+0200) Subject: [Minor] Fix build with pcre2 X-Git-Tag: 1.5.7~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8d06b734a7006c01b65e49aec5e429afe615442;p=rspamd.git [Minor] Fix build with pcre2 --- diff --git a/src/libutil/map.c b/src/libutil/map.c index 97a982797..57c84e37c 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->has_utf = TRUE; + re_map->map_flags |= RSPAMD_REGEXP_FLAG_UTF; } #endif