Michael Stefaniuc : msxml3: Print the debug string and not the pointer to it.

Alexandre Julliard julliard at winehq.org
Mon Mar 26 12:29:31 CDT 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar 21 23:37:36 2012 +0100

msxml3: Print the debug string and not the pointer to it.

---

 dlls/msxml3/cdata.c  |    2 +-
 dlls/msxml3/domdoc.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c
index c6d1f8c..63265bf 100644
--- a/dlls/msxml3/cdata.c
+++ b/dlls/msxml3/cdata.c
@@ -380,7 +380,7 @@ static HRESULT WINAPI domcdata_put_text(
     BSTR p)
 {
     domcdata *This = impl_from_IXMLDOMCDATASection( iface );
-    TRACE("(%p)->(%p)\n", This, debugstr_w(p));
+    TRACE("(%p)->(%s)\n", This, debugstr_w(p));
     return node_put_text( &This->node, p );
 }
 
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index aa0691c..6805c75 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -2951,7 +2951,7 @@ static HRESULT WINAPI domdoc_getProperty(
 {
     domdoc *This = impl_from_IXMLDOMDocument3( iface );
 
-    TRACE("(%p)->(%p)\n", This, debugstr_w(p));
+    TRACE("(%p)->(%s)\n", This, debugstr_w(p));
 
     if (!var)
         return E_INVALIDARG;




More information about the wine-cvs mailing list