On Monday 03 January 2005 21:42 CET Daniel Quinlan wrote:
> "Malte S. Stretz" <[EMAIL PROTECTED]> writes:
> > + push(@extra, sprintf("bayes=%3.4f", $status->{bayes_score}));
>
> Maybe use
>
> push(@extra, sprintf("bayes=%.3f", $status->{bayes_score}));
>
> instead. I think .4 is too much.
I copied that sprintf() from the _BAYES_ token. I just wasn't sure if I
missed something and there was a reason for the missing rounding in the
spamd log output :)
Hmmm... maybe we should just use $status->_replace_tags($logstring) instead
of inventing the wheel again?
Cheers,
Malte
--
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
<http://www.catb.org/~esr/faqs/smart-questions.html>