]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Do not even try pcre in case of regexp maps
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 19 May 2016 10:36:49 +0000 (13:36 +0300)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 19 May 2016 10:36:49 +0000 (13:36 +0300)
src/libutil/map.c

index 1d84e305faf768f24b80cb5da3a2abc027453227..d7f509325ba30c19cd6e6a51dde62b295b68340d 100644 (file)
@@ -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