Alexandre Julliard : services: Fixed the result check for the control mutex wait.
Alexandre Julliard
julliard at winehq.org
Mon May 5 07:14:53 CDT 2008
Module: wine
Branch: master
Commit: d760cba09095221c9f5ebf1e05c3194ad5bda8e2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d760cba09095221c9f5ebf1e05c3194ad5bda8e2
Author: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list