From 43a8ac71964d884b5bdf6d174245344975a1e2d7 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Wed, 4 Aug 1999 22:07:28 +0000 Subject: Patch by msrex@suse.de -- don't send mail to the same address more than once (in case our mail transport is too stupid to remove the dups for us). --- processmail | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'processmail') diff --git a/processmail b/processmail index a0a080b16..4c780d153 100755 --- a/processmail +++ b/processmail @@ -216,10 +216,10 @@ $::bug{'long_desc'} my $didexclude = 0; +my %seen; sub fixaddresses { my ($field, $list) = (@_); my @result; - my %seen; foreach my $i (@$list) { if ($i eq "") { next; @@ -320,6 +320,7 @@ sub ProcessOneBug { if ($regenerate) { print "$i "; } + %seen = (); } # Code starts here -- cgit v1.2.3-24-g4f1b