[3/5] testbot/TestAgent: We don't need the server version for SetTime().
Francois Gouget
fgouget at codeweavers.com
Wed Mar 12 08:25:58 CDT 2014
Just let the server return an error if it does not know about this RPC.
---
testbot/lib/WineTestBot/TestAgent.pm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index c138663..f810f2b 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -2,7 +2,7 @@
# to run scripts.
#
# Copyright 2009 Ge van Geldorp
-# Copyright 2012 Francois Gouget
+# Copyright 2012-2014 Francois Gouget
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -1206,9 +1206,6 @@ sub SetTime($)
my ($self) = @_;
debug("SetTime\n");
- # Make sure we have the server version
- return undef if (!$self->{agentversion} and !$self->_Connect());
-
# Send the command
if (!$self->_StartRPC($RPC_SETTIME) or
!$self->_SendListSize(2) or
--
1.8.5.3
More information about the wine-patches
mailing list