Author: fireball
Date: Mon Jan 14 15:31:35 2008
New Revision: 31772
URL:
http://svn.reactos.org/svn/reactos?rev=31772&view=rev
Log:
- Fix a bug in %SystemRoot% substitution branch.
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 (original)
+++ trunk/reactos/base/system/services/rpcserver.c Mon Jan 14 15:31:35 2008
@@ -1294,7 +1294,7 @@
if (dwStartType == SERVICE_BOOT_START)
wcscpy(*lpCanonName, L"\\SystemRoot\\");
- wcscat(*lpCanonName, lpServiceName);
+ wcscat(*lpCanonName, lpServiceName + 13);
DPRINT("Canonicalized name %S\n", *lpCanonName);
return NO_ERROR;