wininet: Fix printing NULL strings.
Francois Gouget
fgouget at free.fr
Mon Sep 19 16:28:03 CDT 2011
---
This fixes a crash that occurred in the conformance tests on my Solaris
VMs when tracing was turned on.
dlls/wininet/ftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 1b0a46b..74316b9 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -2651,7 +2651,7 @@ static BOOL FTP_SendCommandA(INT nSocket, FTP_COMMAND ftpCmd, LPCSTR lpszParam,
int nRC = 0;
DWORD dwParamLen;
- TRACE("%d: (%s) %d\n", ftpCmd, lpszParam, nSocket);
+ TRACE("%d: (%s) %d\n", ftpCmd, debugstr_a(lpszParam), nSocket);
if (lpfnStatusCB)
{
--
1.7.5.4
More information about the wine-patches
mailing list