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/09/15 05:35:48 UTC

svn commit: rev 46075 - spamassassin/trunk/lib/Mail/SpamAssassin

Author: felicity
Date: Tue Sep 14 20:35:48 2004
New Revision: 46075

Modified:
   spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm
Log:
use a default of 10 seconds for razor report timeout if it's not already set

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm	(original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm	Tue Sep 14 20:35:48 2004
@@ -169,7 +169,7 @@
 
 sub razor_report {
   my ($self, $fulltext, $revoke) = @_;
-  my $timeout=$self->{conf}->{razor_timeout};
+  my $timeout=$self->{conf}->{razor_timeout} || 10;
   my $response;
 
   # If we passed in a true value for $revoke then we must be revoking