aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/classifiers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-27 23:40:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-27 23:40:09 +0000
commit1eb9e1ebfbc7967647de476d931df59911330cb6 (patch)
tree4965f9ea2f34e3b50e6fec6427db1ab23c08d14b /src/libstat/classifiers
parentb13aafea0bed302592466ad6aea528af340383c4 (diff)
downloadrspamd-1eb9e1ebfbc7967647de476d931df59911330cb6.tar.gz
rspamd-1eb9e1ebfbc7967647de476d931df59911330cb6.zip
Fix pointer passing.
Diffstat (limited to 'src/libstat/classifiers')
-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;