[Tools] testbot/WineSendLog: Don't try to add a MessageId if there is no Patch object.
Francois Gouget
fgouget at codeweavers.com
Mon Nov 20 12:00:29 CST 2017
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/bin/WineSendLog.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 1bb37f49..eadfe77c 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -189,7 +189,7 @@ sub SendLog($)
$Subject .= ": " . $Description;
}
print SENDMAIL "Subject: $Subject\n";
- if ($Job->Patch->MessageId)
+ if ($Job->Patch and $Job->Patch->MessageId)
{
print SENDMAIL "In-Reply-To: ", $Job->Patch->MessageId, "\n";
print SENDMAIL "References: ", $Job->Patch->MessageId, "\n";
--
2.14.2
More information about the wine-patches
mailing list