diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-19 13:36:49 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-19 13:36:49 +0300 |
commit | 512fa656a3aa4588aafd5b0cd12bdf075d4fcd70 (patch) | |
tree | d6b86df63a4d8937dfdc3fbe78c41faf0b07b5c0 /src | |
parent | e82e00fb191fa357d20e4cf750d455d112f6292c (diff) | |
download | rspamd-512fa656a3aa4588aafd5b0cd12bdf075d4fcd70.tar.gz rspamd-512fa656a3aa4588aafd5b0cd12bdf075d4fcd70.zip |
[Fix] Do not even try pcre in case of regexp maps
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |