Francois Gouget : version: Fix printing NULL strings.
Alexandre Julliard
julliard at winehq.org
Tue Sep 20 13:08:34 CDT 2011
Module: wine
Branch: master
Commit: 6a8ba3616c7eebd2ea42deba2ce087d583d83320
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a8ba3616c7eebd2ea42deba2ce087d583d83320
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Sep 19 23:28:54 2011 +0200
version: Fix printing NULL strings.
---
dlls/version/version.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/version/version.c b/dlls/version/version.c
index f636c62..bc90dcc 100644
--- a/dlls/version/version.c
+++ b/dlls/version/version.c
@@ -1344,8 +1344,9 @@ DWORD WINAPI VerInstallFileA(
OFSTRUCT ofs;
TRACE("(%x,%s,%s,%s,%s,%s,%p,%d)\n",
- flags,srcfilename,destfilename,srcdir,destdir,curdir,tmpfile,*tmpfilelen
- );
+ flags,debugstr_a(srcfilename),debugstr_a(destfilename),
+ debugstr_a(srcdir),debugstr_a(destdir),debugstr_a(curdir),
+ tmpfile,*tmpfilelen);
xret = 0;
if (!srcdir || !srcfilename) return VIF_CANNOTREADSRC;
sprintf(srcfn,"%s\\%s",srcdir,srcfilename);
More information about the wine-cvs
mailing list