aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.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/plugins/chartable.c
parentc16f6393333532ceeb65fdc7f62efbc14a987329 (diff)
downloadrspamd-4929e73f2baaa0dd29759a6705ac8dd1b06beb90.tar.gz
rspamd-4929e73f2baaa0dd29759a6705ac8dd1b06beb90.zip
[Project] Another rework for symbols cache
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index 208b78d49..ce80b2e66 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -150,14 +150,14 @@ chartable_module_config (struct rspamd_config *cfg)
chartable_module_ctx->threshold = DEFAULT_THRESHOLD;
}
- rspamd_symbols_cache_add_symbol (cfg->cache,
+ rspamd_symcache_add_symbol (cfg->cache,
chartable_module_ctx->symbol,
0,
chartable_symbol_callback,
NULL,
SYMBOL_TYPE_NORMAL,
-1);
- rspamd_symbols_cache_add_symbol (cfg->cache,
+ rspamd_symcache_add_symbol (cfg->cache,
chartable_module_ctx->url_symbol,
0,
chartable_url_symbol_callback,
@@ -668,7 +668,7 @@ chartable_symbol_callback (struct rspamd_task *task,
utext_close (&utxt);
}
- rspamd_symbols_cache_finalize_item (task, item);
+ rspamd_symcache_finalize_item (task, item);
}
static void
@@ -739,5 +739,5 @@ chartable_url_symbol_callback (struct rspamd_task *task,
}
- rspamd_symbols_cache_finalize_item (task, item);
+ rspamd_symcache_finalize_item (task, item);
}