From: Vsevolod Stakhov Date: Thu, 19 May 2016 10:36:49 +0000 (+0300) Subject: [Fix] Do not even try pcre in case of regexp maps X-Git-Tag: 1.3.0~461 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=512fa656a3aa4588aafd5b0cd12bdf075d4fcd70;p=rspamd.git [Fix] Do not even try pcre in case of regexp maps --- diff --git a/src/libutil/map.c b/src/libutil/map.c index 1d84e305f..d7f509325 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -2064,6 +2064,8 @@ rspamd_match_regexp_map (struct rspamd_regexp_map *map, res = 1; ret = g_ptr_array_index (map->values, i); } + + return ret; } #endif