INN commit: branches/2.4/control (controlchan.in)

INN Commit Russ_Allbery at isc.org
Wed Nov 22 07:20:46 UTC 2006


    Date: Tuesday, November 21, 2006 @ 23:20:46
  Author: eagle
Revision: 7591

Pring the newline and not $_, not the other way around.

Modified:
  branches/2.4/control/controlchan.in

----------------+
 controlchan.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: controlchan.in
===================================================================
--- controlchan.in	2006-11-22 07:20:36 UTC (rev 7590)
+++ controlchan.in	2006-11-22 07:20:46 UTC (rev 7591)
@@ -311,7 +311,7 @@
     if ($logfile eq 'mail') {
         my $mail = sendmail($message);
         print $mail map { s/^~/~~/; "$_\n" } @$headers;
-        print $mail "$_" . join ('', map { s/^~/~~/; "$_\n" } @$body)
+        print $mail "\n" . join ('', map { s/^~/~~/; "$_\n" } @$body)
             if $body;
         close $mail or logdie("Cannot send mail: $!");
         return;



More information about the inn-committers mailing list