You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/11/15 02:22:26 UTC
svn commit: rev 71480 - spamassassin/trunk/lib/Mail/SpamAssassin
Author: felicity
Date: Sun Nov 14 17:22:23 2004
New Revision: 71480
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
Log:
in check_blank_line_ratio, if we've already done the processing, don't bother getting the decoded body array again.
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm Sun Nov 14 17:22:23 2004
@@ -2763,8 +2763,8 @@
$minlines = 1;
}
- $fulltext = $self->get_decoded_body_text_array();
if (! exists $self->{blank_line_ratio}->{$minlines}) {
+ $fulltext = $self->get_decoded_body_text_array();
my ($blank) = 0;
if (scalar @{$fulltext} >= $minlines) {
foreach my $line (@{$fulltext}) {