]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by msrex@suse.de -- don't send mail to the same address more
authorterry%mozilla.org <>
Wed, 4 Aug 1999 22:07:28 +0000 (22:07 +0000)
committerterry%mozilla.org <>
Wed, 4 Aug 1999 22:07:28 +0000 (22:07 +0000)
than once (in case our mail transport is too stupid to remove the dups
for us).

processmail

index a0a080b16a482f4c456476d5e6ca74c3007a1fa5..4c780d15361122bfc86db15d1da0a6ba27d7c6d6 100755 (executable)
@@ -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