diff options
Diffstat (limited to 'src/classifiers/bayes.c')
-rw-r--r-- | src/classifiers/bayes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c index 554fc777c..dfa4f768b 100644 --- a/src/classifiers/bayes.c +++ b/src/classifiers/bayes.c @@ -315,7 +315,7 @@ bayes_classify (struct classifier_ctx* ctx, statfile_pool_t *pool, GTree *input, if (final_prob < 0.5) { final_prob = 1. - final_prob; } - rspamd_snprintf (sumbuf, 32, "%.2f", final_prob); + rspamd_snprintf (sumbuf, 32, "%.2f%%", final_prob * 100.); cur = g_list_prepend (NULL, sumbuf); insert_result (task, data.statfiles[selected_st].st->symbol, final_prob, cur); } |