Thomas Mullaly : urlmon: Prevent putting garbage data into TRACE.
Alexandre Julliard
julliard at winehq.org
Fri May 20 12:44:29 CDT 2011
Module: wine
Branch: master
Commit: baf036d5385b995166a1e05e8f34ffdef93971cf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=baf036d5385b995166a1e05e8f34ffdef93971cf
Author: Thomas Mullaly <tmullaly at codeweavers.com>
Date: Thu May 19 15:05:39 2011 -0400
urlmon: Prevent putting garbage data into TRACE.
---
dlls/urlmon/uri.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 459d4c4..f12f826 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -3144,8 +3144,9 @@ static BOOL canonicalize_path_opaque(const parse_data *data, Uri *uri, DWORD fla
uri->path_len = uri->canon_len - uri->path_start;
- TRACE("(%p %p %x %d): Canonicalized opaque URI path %s len=%d\n", data, uri, flags, computeOnly,
- debugstr_wn(uri->canon_uri+uri->path_start, uri->path_len), uri->path_len);
+ if(!computeOnly)
+ TRACE("(%p %p %x %d): Canonicalized opaque URI path %s len=%d\n", data, uri, flags, computeOnly,
+ debugstr_wn(uri->canon_uri+uri->path_start, uri->path_len), uri->path_len);
return TRUE;
}
More information about the wine-cvs
mailing list