Nancy McGough <[EMAIL PROTECTED]> wrote:

> I have a related question: How can I have _HITS_ display only
> one digit after the decimal point. For example, instead of 8.42
> just display 8.4? It's fine if I need to edit the code and
> recompile SA.

Look in PerMsgStatus.pm for the lines like this (there are 
two):

$tag =~ s/_HITS_/sprintf("%05.2f", $self->{hits})/e;

Changing the "%05.2f" to "%04.1f" (or whatever you prefer) 
should do it.  There's no need to recompile anything.  Just 
restart spamd if you're using it.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to