Francois Gouget : testbot: Avoid duplicating the part boundary uuid.
Alexandre Julliard
julliard at winehq.org
Tue Jun 26 09:45:37 CDT 2018
Module: tools
Branch: master
Commit: aeaacbbe0e168bb3cf217a397fcd6873347b839e
URL: https://source.winehq.org/git/tools.git/?a=commit;h=aeaacbbe0e168bb3cf217a397fcd6873347b839e
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jun 26 13:29:39 2018 +0200
testbot: Avoid duplicating the part boundary uuid.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/bin/WineSendLog.pl | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index ed3453b..2f09779 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -48,6 +48,9 @@ use WineTestBot::Log;
use WineTestBot::StepsTasks;
+my $PART_BOUNDARY = "==13F70BD1-BA1B-449A-9CCB-B6A8E90CED47==";
+
+
#
# Logging and error handling helpers
#
@@ -241,9 +244,9 @@ sub SendLog($)
}
print SENDMAIL <<"EOF";
MIME-Version: 1.0
-Content-Type: multipart/mixed; boundary="==13F70BD1-BA1B-449A-9CCB-B6A8E90CED47=="
+Content-Type: multipart/mixed; boundary="$PART_BOUNDARY"
---==13F70BD1-BA1B-449A-9CCB-B6A8E90CED47==
+--$PART_BOUNDARY
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
@@ -374,7 +377,7 @@ EOF
my $StepTask = $StepsTasks->GetItem($Key);
print SENDMAIL <<"EOF";
---==13F70BD1-BA1B-449A-9CCB-B6A8E90CED47==
+--$PART_BOUNDARY
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
@@ -414,7 +417,7 @@ EOF
}
}
- print SENDMAIL "--==13F70BD1-BA1B-449A-9CCB-B6A8E90CED47==--\n";
+ print SENDMAIL "--$PART_BOUNDARY--\n";
close(SENDMAIL);
# This is all for jobs submitted from the website
More information about the wine-cvs
mailing list