Francois Gouget : msi: Don't use debugstr_a() on an output parameter.

Alexandre Julliard julliard at winehq.org
Tue Sep 20 13:08:33 CDT 2011


Module: wine
Branch: master
Commit: ed01c5329036105c04ac8b6e729b8c3e47975462
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ed01c5329036105c04ac8b6e729b8c3e47975462

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Sep 19 23:09:43 2011 +0200

msi: Don't use debugstr_a() on an output parameter.

Spotted by Michael Stefaniuc and Hans Leidekker.

---

 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 de9c0ce..672c528 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", debugstr_a(szFolder), debugstr_a(szPathBuf), pcchPathBuf);
+    TRACE("%s %p %p\n", debugstr_a(szFolder), szPathBuf, pcchPathBuf);
 
     str.unicode = FALSE;
     str.str.a = szPathBuf;




More information about the wine-cvs mailing list