Francois Gouget : inetcomm: Fix printing NULL strings.

Alexandre Julliard julliard at winehq.org
Mon Sep 19 13:48:41 CDT 2011


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun Sep 18 19:50:27 2011 +0200

inetcomm: Fix printing NULL strings.

---

 dlls/inetcomm/mimeole.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index f297c29..8a1e3d4 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -2134,7 +2134,8 @@ static HRESULT WINAPI MimeMessage_IsContentType(
 {
     HRESULT hr;
     IMimeBody *mime_body;
-    TRACE("(%p)->(%p, %s, %s)\n", iface, hBody, pszPriType, pszSubType);
+    TRACE("(%p)->(%p, %s, %s)\n", iface, hBody, debugstr_a(pszPriType),
+          debugstr_a(pszSubType));
 
     hr = IMimeMessage_BindToObject(iface, hBody, &IID_IMimeBody, (void**)&mime_body);
     if(FAILED(hr)) return hr;




More information about the wine-cvs mailing list