Robert Shearman : wininet: Fix Trace in InternetCreateUrl.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Mar 9 16:06:05 CST 2006


Module: wine
Branch: refs/heads/master
Commit: e2b7bc1efd0aeb6cd2c339478e602101753ed8a4
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e2b7bc1efd0aeb6cd2c339478e602101753ed8a4

Author: Robert Shearman <rob at codeweavers.com>
Date:   Thu Mar  9 15:12:56 2006 +0000

wininet: Fix Trace in InternetCreateUrl.

The url passed in to InternetCreateUrl is an out parameter, so don't
dump it.

---

 dlls/wininet/internet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 8c8a6e8..f655a0c 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -3849,7 +3849,7 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COM
     LPWSTR urlW = NULL;
     URL_COMPONENTSW urlCompW;
 
-    TRACE("(%p,%ld,%s,%p)\n", lpUrlComponents, dwFlags, debugstr_a(lpszUrl), lpdwUrlLength);
+    TRACE("(%p,%ld,%p,%p)\n", lpUrlComponents, dwFlags, lpszUrl, lpdwUrlLength);
 
     if (!lpUrlComponents)
         return FALSE;
@@ -3900,7 +3900,7 @@ BOOL WINAPI InternetCreateUrlW(LPURL_COM
     static const WCHAR colonSlashW[] = {':','/','/'};
     static const WCHAR percentD[] = {'%','d',0};
 
-    TRACE("(%p,%ld,%s,%p)\n", lpUrlComponents, dwFlags, debugstr_w(lpszUrl), lpdwUrlLength);
+    TRACE("(%p,%ld,%p,%p)\n", lpUrlComponents, dwFlags, lpszUrl, lpdwUrlLength);
 
     if (!lpUrlComponents)
         return FALSE;




More information about the wine-cvs mailing list