summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-ah
blob: f70ecddc3a08b0c697d04a55a9338b094299c16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ah,v 1.1 2002/10/20 20:09:06 heinz Exp $

--- lib/Mail/SpamAssassin/Reporter.pm.orig	Mon Oct 14 18:44:35 2002
+++ lib/Mail/SpamAssassin/Reporter.pm
@@ -151,6 +151,12 @@
         my $objects = $rc->prepare_objects( \@msg )
           or adie ("error in prepare_objects");
         $rc->get_server_info() or adie $rc->errprefix("reportit");
+
+	# let's reset the alarm since get_server_info() calls
+	# nextserver() which calls discover() which very likely will
+	# reset the alarm for us ... how polite.  :(  
+	alarm $timeout;
+
         my $sigs = $rc->compute_sigs($objects)
           or adie ("error in compute_sigs");