[ros-diffs] [mjmartin] 40956: - ReportEventW: Set UNICODE_STRING ComputerName to empty string vice NULL to make rpcrt4 happy.

mjmartin at svn.reactos.org mjmartin at svn.reactos.org
Sun May 17 16:10:41 CEST 2009


Author: mjmartin
Date: Sun May 17 18:10:40 2009
New Revision: 40956

URL: http://svn.reactos.org/svn/reactos?rev=40956&view=rev
Log:
- ReportEventW: Set UNICODE_STRING ComputerName to empty string vice NULL to make rpcrt4 happy.

Modified:
    trunk/reactos/dll/win32/advapi32/service/eventlog.c

Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service/eventlog.c?rev=40956&r1=40955&r2=40956&view=diff
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] Sun May 17 18:10:40 2009
@@ -938,7 +938,7 @@
         RtlInitUnicodeString(&Strings[i], lpStrings[i]);
 
     /*FIXME: ComputerName */
-    RtlInitEmptyUnicodeString(&ComputerName, NULL, 0);
+    RtlInitEmptyUnicodeString(&ComputerName, L"", 0);
 
     RpcTryExcept
     {



More information about the Ros-diffs mailing list