Author: ekohl
Date: Sat Dec 3 13:54:11 2016
New Revision: 73419
URL:
http://svn.reactos.org/svn/reactos?rev=73419&view=rev
Log:
[SERVICES]
Tiny fixes.
One fix found by Serge Gautherie.
Modified:
trunk/reactos/base/system/services/rpcserver.c
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Sat Dec 3 13:54:11 2016
@@ -1443,7 +1443,7 @@
{
PSERVICE_HANDLE hSvc;
PSERVICE lpService;
- ULONG DesiredAccess = 0;
+ ACCESS_MASK DesiredAccess = 0;
HANDLE hToken = NULL;
HKEY hServiceKey = NULL;
BOOL bDatabaseLocked = FALSE;
@@ -6361,7 +6361,7 @@
sizeof(SERVICE_STATUS));
/* Copy the service process ID */
- if ((CurrentService->Status.dwCurrentState == SERVICE_STOPPED)
||(CurrentService->lpImage == NULL))
+ if ((CurrentService->Status.dwCurrentState == SERVICE_STOPPED) ||
(CurrentService->lpImage == NULL))
lpStatusPtr->ServiceStatusProcess.dwProcessId = 0;
else
lpStatusPtr->ServiceStatusProcess.dwProcessId =
CurrentService->lpImage->dwProcessId;