You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/04/19 21:41:12 UTC
svn commit: r395371 -
/spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw
Author: jm
Date: Wed Apr 19 12:41:11 2006
New Revision: 395371
URL: http://svn.apache.org/viewcvs?rev=395371&view=rev
Log:
spamd summary messages need not use scientific notation for bayes scores
Modified:
spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw
Modified: spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw
URL: http://svn.apache.org/viewcvs/spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw?rev=395371&r1=395370&r2=395371&view=diff
==============================================================================
--- spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw (original)
+++ spamassassin/branches/bug-3109-shortcircuiting/spamd/spamd.raw Wed Apr 19 12:41:11 2006
@@ -1358,7 +1358,7 @@
my $safe = $rmsgid; $safe =~ s/[\x00-\x20\s,]/_/gs; push(@extra, "rmid=$safe");
}
if (defined $status->{bayes_score}) {
- push(@extra, "bayes=".$status->{bayes_score});
+ push(@extra, "bayes=".sprintf("%06f", $status->{bayes_score}));
}
push(@extra, "autolearn=".$status->get_autolearn_status());
push(@extra, "shortcircuit=".$status->get_tag("SCTYPE"));