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 2004/10/27 18:51:38 UTC
svn commit: rev 55716 - spamassassin/trunk/lib/Mail/SpamAssassin/Plugin
Author: jm
Date: Wed Oct 27 09:51:33 2004
New Revision: 55716
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Razor2.pm
Log:
default razor timeout had been accidentally dropped; fixed
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Razor2.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Razor2.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Razor2.pm Wed Oct 27 09:51:33 2004
@@ -148,7 +148,7 @@
sub razor2_lookup {
my ($self, $permsgstatus, $fulltext) = @_;
- my $timeout=$self->{main}->{conf}->{razor_timeout};
+ my $timeout=$self->{main}->{conf}->{razor_timeout} || 10;
# Set the score for the ranged checks
$self->{razor2_cf_score} = 0;
Re: svn commit: rev 55716 - spamassassin/trunk/lib/Mail/SpamAssassin/Plugin
Posted by Theo Van Dinter <fe...@kluge.net>.
Errr. The code already does that in the new() area:
$mailsaobject->{conf}->{razor2_timeout} = 10;
On Wed, Oct 27, 2004 at 04:51:38PM -0000, jm@apache.org wrote:
> - my $timeout=$self->{main}->{conf}->{razor_timeout};
> + my $timeout=$self->{main}->{conf}->{razor_timeout} || 10;
So the conf setting will have the default 10, so the "|| 10" part is moot.
--
Randomly Generated Tagline:
"If English was good enough for Jesus Christ, it ought to be good enough
for the children of Texas." - Texas Governor Miriam "Ma" Ferguson, 1924