Commit 43a8ac71 authored by terry%mozilla.org's avatar terry%mozilla.org

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).
parent d2b1cc8e
...@@ -216,10 +216,10 @@ $::bug{'long_desc'} ...@@ -216,10 +216,10 @@ $::bug{'long_desc'}
my $didexclude = 0; my $didexclude = 0;
my %seen;
sub fixaddresses { sub fixaddresses {
my ($field, $list) = (@_); my ($field, $list) = (@_);
my @result; my @result;
my %seen;
foreach my $i (@$list) { foreach my $i (@$list) {
if ($i eq "") { if ($i eq "") {
next; next;
...@@ -320,6 +320,7 @@ sub ProcessOneBug { ...@@ -320,6 +320,7 @@ sub ProcessOneBug {
if ($regenerate) { if ($regenerate) {
print "$i "; print "$i ";
} }
%seen = ();
} }
# Code starts here # Code starts here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment