From 96533faa0f815ba97f2e5b656ffd48b5f7068693 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 2 May 2017 14:57:59 +0100 Subject: [PATCH] Revert "[Minor] Fix build with pcre2" This reverts commit a8d06b734a7006c01b65e49aec5e429afe615442. --- 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 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 -- 2.39.5