Alexandre Julliard : services: Use the correct invalid handle value for the control pipe.

Alexandre Julliard julliard at winehq.org
Mon May 5 07:14:52 CDT 2008


Module: wine
Branch: master
Commit: 8ae87c7f0ec59fb82f6e4cd5558581ca7fc24a11
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8ae87c7f0ec59fb82f6e4cd5558581ca7fc24a11

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon May  5 13:00:49 2008 +0200

services: Use the correct invalid handle value for the control pipe.

---

 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 3f6ee40..baeab19 100644
--- a/programs/services/rpc.c
+++ b/programs/services/rpc.c
@@ -827,7 +827,7 @@ DWORD svcctl_ControlService(
     if (dwControl == SERVICE_CONTROL_STOP)
     {
         service->service_entry->control_mutex = NULL;
-        service->service_entry->control_pipe = NULL;
+        service->service_entry->control_pipe = INVALID_HANDLE_VALUE;
     }
 
     service_unlock(service->service_entry);




More information about the wine-cvs mailing list