[ros-diffs] [hpoussin] 33587: Send an empty string, as required by the documentation See issue #3202 for more details.

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sun May 18 18:01:30 CEST 2008


Author: hpoussin
Date: Sun May 18 11:01:29 2008
New Revision: 33587

URL: http://svn.reactos.org/svn/reactos?rev=33587&view=rev
Log:
Send an empty string, as required by the documentation
See issue #3202 for more details.

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=33587&r1=33586&r2=33587&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 18 11:01:29 2008
@@ -33,6 +33,8 @@
     IELF_HANDLE LogHandle;
     BOOL bLocal;
 } LOG_INFO, *PLOG_INFO;
+
+static RPC_UNICODE_STRING EmptyString = { 0, 0, L"" };
 
 /******************************************************************************
  * BackupEventLogA [ADVAPI32.@]
@@ -560,7 +562,7 @@
         pLog->BindingHandle,
         (LPWSTR)lpUNCServerName,
         &SourceName,
-        NULL,
+        &EmptyString,
         0,
         0,
         &pLog->LogHandle);
@@ -777,7 +779,7 @@
         pLog->BindingHandle,
         (LPWSTR)lpUNCServerName,
         &SourceName,
-        NULL,
+        &EmptyString,
         0,
         0,
         &pLog->LogHandle);



More information about the Ros-diffs mailing list