summaryrefslogtreecommitdiffstats
path: root/processmail
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-08-05 00:07:28 +0200
committerterry%mozilla.org <>1999-08-05 00:07:28 +0200
commit43a8ac71964d884b5bdf6d174245344975a1e2d7 (patch)
tree65b7cb573724e654c9e31c7995793c3601486df0 /processmail
parentd2b1cc8e51c256d8b0df97fe459e3f93ad357dd8 (diff)
downloadbugzilla-43a8ac71964d884b5bdf6d174245344975a1e2d7.tar.gz
bugzilla-43a8ac71964d884b5bdf6d174245344975a1e2d7.tar.xz
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).
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail3
1 files changed, 2 insertions, 1 deletions
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