[PATCH v2] msado15: Print the debug strings and not the pointers to them

Hans Leidekker hans at codeweavers.com
Tue Dec 10 02:56:11 CST 2019


From: Michael Stefaniuc <mstefani at winehq.org>

v2: Don't trace the password.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/msado15/connection.c | 2 +-
 dlls/msado15/stream.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msado15/connection.c b/dlls/msado15/connection.c
index f33bc89a1a..43497636a8 100644
--- a/dlls/msado15/connection.c
+++ b/dlls/msado15/connection.c
@@ -187,7 +187,7 @@ static HRESULT WINAPI connection_Open( _Connection *iface, BSTR connect_str, BST
                                        LONG options )
 {
     FIXME( "%p, %s, %s, %p, %08x\n", iface, debugstr_w(connect_str), debugstr_w(userid),
-           debugstr_w(password), options );
+           password, options );
     return E_NOTIMPL;
 }
 
diff --git a/dlls/msado15/stream.c b/dlls/msado15/stream.c
index 0c4d9ea425..169be7319e 100644
--- a/dlls/msado15/stream.c
+++ b/dlls/msado15/stream.c
@@ -371,7 +371,7 @@ static HRESULT WINAPI stream_ReadText( _Stream *iface, LONG len, BSTR *ret )
 
 static HRESULT WINAPI stream_WriteText( _Stream *iface, BSTR data, StreamWriteEnum options )
 {
-    FIXME( "%p, %p, %u\n", iface, debugstr_w(data), options );
+    FIXME( "%p, %s, %u\n", iface, debugstr_w(data), options );
     return E_NOTIMPL;
 }
 
-- 
2.20.1




More information about the wine-devel mailing list