From 8732a04d4a30867fba13726cb0255916072bfca6 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Wed, 12 Sep 2007 09:27:33 +0000 Subject: [PATCH] Use the handle for ControlService too. This allows me to start and stop my test service (but tcpsvcs hangs on stop) svn path=/trunk/; revision=29017 --- reactos/base/system/services/database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/system/services/database.c b/reactos/base/system/services/database.c index 7cdf1d3da5b..9192f3c611d 100644 --- a/reactos/base/system/services/database.c +++ b/reactos/base/system/services/database.c @@ -581,7 +581,7 @@ ScmControlService(PSERVICE Service, return ERROR_NOT_ENOUGH_MEMORY; ControlPacket->dwControl = dwControl; - + ControlPacket->hClient = Service->hClient; ControlPacket->dwSize = TotalLength; wcscpy(&ControlPacket->szArguments[0], Service->lpServiceName);