aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libstat/classifiers/bayes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/classifiers/bayes.c b/src/libstat/classifiers/bayes.c
index 54d696721..979329d4e 100644
--- a/src/libstat/classifiers/bayes.c
+++ b/src/libstat/classifiers/bayes.c
@@ -149,7 +149,7 @@ bayes_classify (struct classifier_ctx * ctx,
g_assert (rt != NULL);
g_assert (rt->end_pos > rt->start_pos);
- g_tree_foreach (input, bayes_classify_callback, &rt);
+ g_tree_foreach (input, bayes_classify_callback, rt);
if (rt->spam_prob == 0) {
final_prob = 0;