From a8d06b734a7006c01b65e49aec5e429afe615442 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 28 Apr 2017 15:27:58 +0200 Subject: [PATCH] [Minor] Fix build with pcre2 --- src/libutil/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5