Jacek Caban : mshtml: Improved debug traces in nsIChannel:: AsyncOpen implementation.

Alexandre Julliard julliard at winehq.org
Mon Nov 14 13:33:57 CST 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Nov 12 18:25:23 2011 +0100

mshtml: Improved debug traces in nsIChannel::AsyncOpen implementation.

---

 dlls/mshtml/nsio.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index d266ddf..7b6bb78 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -949,6 +949,13 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
     if(!ensure_uri(This->uri))
         return NS_ERROR_FAILURE;
 
+    if(TRACE_ON(mshtml)) {
+        BSTR uri_str;
+        IUri_GetDisplayUri(This->uri->uri, &uri_str);
+        TRACE("opening %s\n", debugstr_w(uri_str));
+        SysFreeString(uri_str);
+    }
+
     if(This->uri->is_doc_uri) {
         window = get_channel_window(This);
         if(window) {




More information about the wine-cvs mailing list