diff options
Diffstat (limited to 'src/classifiers/bayes.c')
-rw-r--r-- | src/classifiers/bayes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c index e701fe2a0..0b4e03ec4 100644 --- a/src/classifiers/bayes.c +++ b/src/classifiers/bayes.c @@ -264,10 +264,10 @@ bayes_classify (struct classifier_ctx* ctx, statfile_pool_t *pool, GTree *input, data.statfiles[i].file = file; data.statfiles[i].st = st; if (st->is_spam) { - data.total_spam += statfile_get_used_blocks (file); + data.total_spam += statfile_get_revision (file); } else { - data.total_ham += statfile_get_used_blocks (file); + data.total_ham += statfile_get_revision (file); } cur = g_list_next (cur); |