diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-04-28 15:27:58 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-04-28 15:27:58 +0200 |
commit | 79860abb33932cce7563d75191091ad4bf1b4f37 (patch) | |
tree | e9bba0899ff760c60920626a14eac75f0f3ec9d4 /src/libutil | |
parent | 75cbf675baba05060c85177d45f6bd54ef75ef49 (diff) | |
download | rspamd-79860abb33932cce7563d75191091ad4bf1b4f37.tar.gz rspamd-79860abb33932cce7563d75191091ad4bf1b4f37.zip |
[Minor] Fix build with pcre2
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index ceb90d2fb..3c8db183b 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -2497,7 +2497,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 @@ -2817,4 +2817,4 @@ rspamd_match_regexp_map_all (struct rspamd_regexp_map *map, g_ptr_array_free (ret, TRUE); return NULL; -}
\ No newline at end of file +} |