Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: commits

svn commit: rev 6370 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin

 

 

SpamAssassin commits RSS feed   Index | Next | Previous | View Threaded


quinlan at apache

Jan 30, 2004, 8:26 PM

Post #1 of 1 (127 views)
Permalink
svn commit: rev 6370 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin

Author: quinlan
Date: Fri Jan 30 19:26:41 2004
New Revision: 6370

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/MsgContainer.pm
Log:
fix a warning from new test code


Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/MsgContainer.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/MsgContainer.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/MsgContainer.pm Fri Jan 30 19:26:41 2004
@@ -293,7 +293,9 @@
if (exists $self->{html_results}{total_comment_length} && $self->{html_results}{non_uri_len} > 0) {
$self->{html_results}{total_comment_ratio} = $self->{html_results}{total_comment_length} / $self->{html_results}{non_uri_len};
}
- if (exists $self->{html_results}{tags}) {
+ if (exists $self->{html_results}{elements} &&
+ exists $self->{html_results}{tags})
+ {
$self->{html_results}{t_bad_tag_ratio} = ($self->{html_results}{tags} - $self->{html_results}{elements}) / $self->{html_results}{tags};
$self->{html_results}{t_bad_tag_count} = ($self->{html_results}{tags} - $self->{html_results}{elements});
$self->{html_results}{t_bad_tag_unique_ratio} = ($self->{html_results}{tags_seen} - $self->{html_results}{elements_seen}) / $self->{html_results}{tags_seen};

SpamAssassin commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.