aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 12:35:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 12:35:13 +0100
commitd4d921a97e5a8548fb506ed8bc747d9a2bc37561 (patch)
treeb3647b472e4e08680d0ce4464a353a5cbc05a35a /src/libstat/stat_process.c
parent22ef30cfeca05d3eaa6fc570959232798cc82de3 (diff)
downloadrspamd-d4d921a97e5a8548fb506ed8bc747d9a2bc37561.tar.gz
rspamd-d4d921a97e5a8548fb506ed8bc747d9a2bc37561.zip
[Rework] Rename filter.h to a more sane name
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 9fe90a20e..486a9069f 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -873,7 +873,7 @@ rspamd_stat_learn (struct rspamd_task *task,
static gboolean
rspamd_stat_has_classifier_symbols (struct rspamd_task *task,
- struct rspamd_metric_result *mres,
+ struct rspamd_scan_result *mres,
struct rspamd_classifier *cl)
{
guint i;
@@ -912,7 +912,7 @@ rspamd_stat_check_autolearn (struct rspamd_task *task)
struct rspamd_stat_ctx *st_ctx;
struct rspamd_classifier *cl;
const ucl_object_t *obj, *elt1, *elt2;
- struct rspamd_metric_result *mres = NULL;
+ struct rspamd_scan_result *mres = NULL;
struct rspamd_task **ptask;
lua_State *L;
guint i;