From: terry%mozilla.org <> Date: Wed, 4 Aug 1999 22:07:28 +0000 (+0000) Subject: Patch by msrex@suse.de -- don't send mail to the same address more X-Git-Tag: bugzilla-2.6~20 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=43a8ac71964d884b5bdf6d174245344975a1e2d7;p=thirdparty%2Fbugzilla.git 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). --- diff --git a/processmail b/processmail index a0a080b16a..4c780d1536 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