aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-10 17:03:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-10 17:03:51 +0000
commit335ab27a5f6c0f393248d5b545c075f60d4cb623 (patch)
tree51ac76fbe4e235a7db314983c107dd20b49be705 /src/libserver/cfg_utils.c
parent4d5a265529bcdf5115cbb9fcc5688bf32232eb32 (diff)
downloadrspamd-335ab27a5f6c0f393248d5b545c075f60d4cb623.tar.gz
rspamd-335ab27a5f6c0f393248d5b545c075f60d4cb623.zip
Allow to disable hyperscan and use pcre only
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 012cec1c3..11be02879 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -671,7 +671,7 @@ rspamd_config_post_load (struct rspamd_config *cfg, gboolean validate_cache)
rspamd_symbols_cache_init (cfg->cache);
/* Init re cache */
- rspamd_re_cache_init (cfg->re_cache);
+ rspamd_re_cache_init (cfg->re_cache, cfg);
/* Validate cache */
if (validate_cache) {