Alexandre Julliard : services: Fixed the result check for the control mutex wait.
Module: wine Branch: master Commit: d760cba09095221c9f5ebf1e05c3194ad5bda8e2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d760cba09095221c9f5ebf1e05... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon May 5 13:01:15 2008 +0200 services: Fixed the result check for the control mutex wait. --- programs/services/rpc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/services/rpc.c b/programs/services/rpc.c index baeab19..616daa9 100644 --- a/programs/services/rpc.c +++ b/programs/services/rpc.c @@ -833,7 +833,7 @@ DWORD svcctl_ControlService( service_unlock(service->service_entry); ret = WaitForSingleObject(control_mutex, 30000); - if (ret) + if (ret == WAIT_OBJECT_0) { DWORD result = ERROR_SUCCESS;
participants (1)
-
Alexandre Julliard