aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-03 17:37:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-03 17:37:53 +0000
commitcdf89b1d3b599cdc1716403dcc93f0ca4f06a247 (patch)
tree1bda580c4adfc748907cfc47f618fab38f76e86c /src/libserver/cfg_utils.c
parent45e84668a1c7a7131db53e2b94375cfc98d68556 (diff)
downloadrspamd-cdf89b1d3b599cdc1716403dcc93f0ca4f06a247.tar.gz
rspamd-cdf89b1d3b599cdc1716403dcc93f0ca4f06a247.zip
Fix code for the new cache
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 2d185a59d..8c7164fd0 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -198,7 +198,7 @@ rspamd_config_new (void)
cfg->lua_state = rspamd_lua_init (cfg);
cfg->cache = rspamd_symbols_cache_new (cfg);
cfg->ups_ctx = rspamd_upstreams_library_init ();
- cfg->re_cache = rspamd_regexp_cache_new ();
+ cfg->re_cache = rspamd_re_cache_new ();
REF_INIT_RETAIN (cfg, rspamd_config_free);