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

This commit is contained in:
Alexandre Julliard 2008-05-05 13:00:49 +02:00
parent 29d8c366bb
commit 8ae87c7f0e
1 changed files with 1 additions and 1 deletions

View File

@ -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);