msi: Fix printing NULL strings.

Francois Gouget fgouget at free.fr
Sun Sep 18 12:49:55 CDT 2011


---

This fixes a crash that occurred in the conformance tests on my Solaris 
VMs when tracing was turned on.

 dlls/msi/install.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index d281098..de9c0ce 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -489,7 +489,7 @@ UINT WINAPI MsiGetSourcePathA( MSIHANDLE hInstall, LPCSTR szFolder,
     awstring str;
     UINT r;
 
-    TRACE("%s %p %p\n", szFolder, debugstr_a(szPathBuf), pcchPathBuf);
+    TRACE("%s %p %p\n", debugstr_a(szFolder), debugstr_a(szPathBuf), pcchPathBuf);
 
     str.unicode = FALSE;
     str.str.a = szPathBuf;
-- 
1.7.5.4




More information about the wine-patches mailing list