aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configtest.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 12:22:46 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 12:22:46 +0000
commit4929e73f2baaa0dd29759a6705ac8dd1b06beb90 (patch)
treee5ea92f88a12cb3ad667ef92eda62b643f2adcc9 /src/rspamadm/configtest.c
parentc16f6393333532ceeb65fdc7f62efbc14a987329 (diff)
downloadrspamd-4929e73f2baaa0dd29759a6705ac8dd1b06beb90.tar.gz
rspamd-4929e73f2baaa0dd29759a6705ac8dd1b06beb90.zip
[Project] Another rework for symbols cache
Diffstat (limited to 'src/rspamadm/configtest.c')
-rw-r--r--src/rspamadm/configtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamadm/configtest.c b/src/rspamadm/configtest.c
index 72a8f4945..0fe0a23ad 100644
--- a/src/rspamadm/configtest.c
+++ b/src/rspamadm/configtest.c
@@ -136,7 +136,7 @@ rspamadm_configtest (gint argc, gchar **argv, const struct rspamadm_command *cmd
(void) g_quark_from_static_string ((*pworker)->name);
pworker++;
}
- cfg->cache = rspamd_symbols_cache_new (cfg);
+ cfg->cache = rspamd_symcache_new (cfg);
cfg->compiled_modules = modules;
cfg->compiled_workers = workers;
cfg->cfg_name = config;
@@ -156,7 +156,7 @@ rspamadm_configtest (gint argc, gchar **argv, const struct rspamadm_command *cmd
ret = rspamd_config_post_load (cfg, RSPAMD_CONFIG_INIT_SYMCACHE);
}
- if (!rspamd_symbols_cache_validate (rspamd_main->cfg->cache,
+ if (!rspamd_symcache_validate (rspamd_main->cfg->cache,
rspamd_main->cfg,
FALSE)) {
ret = FALSE;