Francois Gouget : testbot/WineSendLog: Preserve the newline on the last line of attachments.
Module: tools Branch: master Commit: 256f01374da0949d74d6b2111ad78cbac1e71244 URL: https://source.winehq.org/git/tools.git/?a=commit;h=256f01374da0949d74d6b211... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Tue Jul 17 16:41:57 2018 +0200 testbot/WineSendLog: Preserve the newline on the last line of attachments. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/bin/WineSendLog.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl index 9d00391..51830ad 100755 --- a/testbot/bin/WineSendLog.pl +++ b/testbot/bin/WineSendLog.pl @@ -388,6 +388,7 @@ EOF my $TaskDir = $StepTask->GetTaskDir(); print $Sendmail <<"EOF"; + --$PART_BOUNDARY Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 @@ -429,7 +430,7 @@ EOF } } - print $Sendmail "--$PART_BOUNDARY--\n"; + print $Sendmail "\n--$PART_BOUNDARY--\n"; close($Sendmail); # This is all for jobs submitted from the website
participants (1)
-
Alexandre Julliard