summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-ah
blob: 9b2a7ed6c20d5123ba08f165005cc06a3b639ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ah,v 1.3 2003/02/02 19:38:40 heinz Exp $

--- lib/Mail/SpamAssassin/Reporter.pm.orig	Wed Nov 27 17:45:21 2002
+++ lib/Mail/SpamAssassin/Reporter.pm
@@ -152,6 +152,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");