Commit d4f0014a authored by dave%intrec.com's avatar dave%intrec.com

Removing duplicate variable declaration from patch for bug 50698. The

sendmail deferred vs immediate delivery Param is now honored even in Perl 5.6.
parent d733399f
...@@ -587,7 +587,7 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) { ...@@ -587,7 +587,7 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) {
my $sendmailparam = "-ODeliveryMode=deferred"; my $sendmailparam = "-ODeliveryMode=deferred";
if (Param("sendmailnow")) { if (Param("sendmailnow")) {
my $sendmailparam = ""; $sendmailparam = "";
} }
open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") || open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") ||
die "Can't open sendmail"; die "Can't open sendmail";
...@@ -654,7 +654,7 @@ sub ProcessOneBug { ...@@ -654,7 +654,7 @@ sub ProcessOneBug {
# harmless. # harmless.
my $sendmailparam = "-ODeliveryMode=deferred"; my $sendmailparam = "-ODeliveryMode=deferred";
if (Param("sendmailnow")) { if (Param("sendmailnow")) {
my $sendmailparam = ""; $sendmailparam = "";
} }
open(SENDMAIL, open(SENDMAIL,
"|/usr/lib/sendmail $sendmailparam -t") || "|/usr/lib/sendmail $sendmailparam -t") ||
......
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