Francois Gouget : testbot/WineSendLog: Don' t try to add a MessageId if there is no Patch object.

Alexandre Julliard julliard at winehq.org
Tue Nov 21 08:01:43 CST 2017


Module: tools
Branch: master
Commit: 06a0d0208ceb5d43d139d99fe9690eedc7067142
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=06a0d0208ceb5d43d139d99fe9690eedc7067142

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Nov 20 19:00:29 2017 +0100

testbot/WineSendLog: Don't try to add a MessageId if there is no Patch object.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 1bb37f4..eadfe77 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";




More information about the wine-cvs mailing list