]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Removing duplicate variable declaration from patch for bug 50698. The
authordave%intrec.com <>
Sat, 2 Sep 2000 11:26:36 +0000 (11:26 +0000)
committerdave%intrec.com <>
Sat, 2 Sep 2000 11:26:36 +0000 (11:26 +0000)
sendmail deferred vs immediate delivery Param is now honored even in Perl
5.6.

processmail

index 6004f66326ce95d7bff3efaea270de6b9237512f..d96a6f96ef1f9361fb9f2422f1652fc5fed7cef2 100755 (executable)
@@ -587,7 +587,7 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) {
 
     my $sendmailparam = "-ODeliveryMode=deferred";
     if (Param("sendmailnow")) {
-       my $sendmailparam = "";
+       $sendmailparam = "";
     }
     open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") ||
       die "Can't open sendmail";
@@ -654,7 +654,7 @@ sub ProcessOneBug {
                 # harmless.
                 my $sendmailparam = "-ODeliveryMode=deferred";
                 if (Param("sendmailnow")) {
-                    my $sendmailparam = "";
+                    $sendmailparam = "";
                 }
                 open(SENDMAIL, 
                      "|/usr/lib/sendmail $sendmailparam -t") ||