]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix build with pcre2
authorAndrew Lewis <nerf@judo.za.org>
Fri, 28 Apr 2017 13:27:58 +0000 (15:27 +0200)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 1 May 2017 13:06:11 +0000 (14:06 +0100)
src/libutil/map.c

index 97a982797267aee727b325ebc0eed7dfdc9e681f..57c84e37cdd96ed3ba284bd2b8e4142e10b1da7d 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->has_utf = TRUE;
+               re_map->map_flags |= RSPAMD_REGEXP_FLAG_UTF;
        }
 #endif