aboutsummaryrefslogtreecommitdiffstats
path: root/src/classifiers/bayes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/classifiers/bayes.c')
-rw-r--r--src/classifiers/bayes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c
index bd001a8c3..0afd3109c 100644
--- a/src/classifiers/bayes.c
+++ b/src/classifiers/bayes.c
@@ -345,7 +345,7 @@ bayes_classify (struct classifier_ctx * ctx,
}
rspamd_snprintf (sumbuf, 32, "%.2f%%", final_prob * 100.);
cur = g_list_prepend (NULL, sumbuf);
- insert_result (task,
+ rspamd_task_insert_result (task,
data.statfiles[selected_st].st->symbol,
final_prob,
cur);