Francois Gouget : testbot/testagentd: Fix the SetTime() RPC on Unix.

Alexandre Julliard julliard at winehq.org
Tue Oct 30 03:25:12 CDT 2018


Module: tools
Branch: master
Commit: 13300521cc65ccb137195cbdf8416e83e8a5d351
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=13300521cc65ccb137195cbdf8416e83e8a5d351

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Oct 30 03:41:51 2018 +0100

testbot/testagentd: Fix the SetTime() RPC on Unix.

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

---

 testbot/src/testagentd/platform_unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/src/testagentd/platform_unix.c b/testbot/src/testagentd/platform_unix.c
index 7a3a8f8..560d121 100644
--- a/testbot/src/testagentd/platform_unix.c
+++ b/testbot/src/testagentd/platform_unix.c
@@ -231,7 +231,7 @@ int platform_settime(uint64_t epoch, uint32_t leeway)
 
     tv.tv_sec = epoch;
     tv.tv_usec = 0;
-    if (!settimeofday(&tv, NULL))
+    if (settimeofday(&tv, NULL))
     {
         set_status(ST_ERROR, "failed to set the time: %s", strerror(errno));
         return 0;




More information about the wine-cvs mailing list