INN commit: trunk/control (controlchan.in)

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


    Date: Tuesday, November 21, 2006 @ 23:20:36
  Author: eagle
Revision: 7590

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

Modified:
  trunk/control/controlchan.in

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

Modified: controlchan.in
===================================================================
--- controlchan.in	2006-11-22 06:49:28 UTC (rev 7589)
+++ controlchan.in	2006-11-22 07:20:36 UTC (rev 7590)
@@ -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