aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-04 19:20:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-04 19:20:42 +0100
commitce8577d636b2c8f1039133fb4e80da6e2672ca69 (patch)
treea184f8a987047e8fd7abb2c16f8a015ddbcbbeba /src/libserver/cfg_utils.c
parent03b3fef47e695921d7e268dc8108fdd52b97f3c2 (diff)
downloadrspamd-ce8577d636b2c8f1039133fb4e80da6e2672ca69.tar.gz
rspamd-ce8577d636b2c8f1039133fb4e80da6e2672ca69.zip
[Minor] Try to allow disabling JIT in PCRE
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 3856c294b..76de54e1b 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -685,7 +685,7 @@ rspamd_config_post_load (struct rspamd_config *cfg,
cfg->default_max_shots = 1;
}
- rspamd_regexp_library_init ();
+ rspamd_regexp_library_init (cfg);
rspamd_multipattern_library_init (cfg->hs_cache_dir);
#ifdef WITH_HYPERSCAN