Fix a typo. Use lpStartServiceName instead of lpServiceName.
authorEric Kohl <eric.kohl@reactos.org>
Tue, 22 Dec 2009 16:57:27 +0000 (16:57 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 22 Dec 2009 16:57:27 +0000 (16:57 +0000)
This fixes two winetests.

svn path=/trunk/; revision=44714

reactos/base/system/services/rpcserver.c

index 44ef7e2..b42f81a 100644 (file)
@@ -1969,8 +1969,9 @@ DWORD RCreateServiceW(
             goto done;
     }
 
-    /* If a non driver and NULL for lpServiceName, write ObjectName as LocalSystem */
-    if ((dwServiceType & SERVICE_WIN32) && (!lpServiceName))
+    /* FIXME: Handle lpServiceStartName propertly! */
+    /* If a non driver and NULL for lpServiceStartName, write ObjectName as LocalSystem */
+    if ((dwServiceType & SERVICE_WIN32) && (!lpServiceStartName))
     {
         dwError = RegSetValueExW(hServiceKey,
                                  L"ObjectName",