testbot/testagentd: Fix the legacy Wait RPC.
Francois Gouget
fgouget at codeweavers.com
Thu May 15 08:56:12 CDT 2014
0 means return immediately, not wait indefinitely (aka RUN_NOTIMEOUT)!
---
testbot/src/testagentd/testagentd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/src/testagentd/testagentd.c b/testbot/src/testagentd/testagentd.c
index 4bda532..3159f16 100644
--- a/testbot/src/testagentd/testagentd.c
+++ b/testbot/src/testagentd/testagentd.c
@@ -802,7 +802,7 @@ static void do_wait(SOCKET client)
return;
}
- if (platform_wait(client, pid, 0, &childstatus))
+ if (platform_wait(client, pid, RUN_NOTIMEOUT, &childstatus))
{
send_list_size(client, 1);
send_uint32(client, childstatus);
--
2.0.0.rc0
More information about the wine-patches
mailing list