Jacek Caban : winhttp: Trace accept types in WinHttpOpenRequest.
Alexandre Julliard
julliard at winehq.org
Mon Apr 23 13:41:38 CDT 2012
Module: wine
Branch: master
Commit: f69445adeb8ca9881982c151f328e4e8df48de45
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f69445adeb8ca9881982c151f328e4e8df48de45
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 23 14:50:15 2012 +0200
winhttp: Trace accept types in WinHttpOpenRequest.
---
dlls/winhttp/session.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 2d899ab..1f5d825 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -917,6 +917,14 @@ HINTERNET WINAPI WinHttpOpenRequest( HINTERNET hconnect, LPCWSTR verb, LPCWSTR o
TRACE("%p, %s, %s, %s, %s, %p, 0x%08x\n", hconnect, debugstr_w(verb), debugstr_w(object),
debugstr_w(version), debugstr_w(referrer), types, flags);
+ if(types && TRACE_ON(winhttp)) {
+ const WCHAR **iter;
+
+ TRACE("accept types:\n");
+ for(iter = types; *iter; iter++)
+ TRACE(" %s\n", debugstr_w(*iter));
+ }
+
if (!(connect = (connect_t *)grab_object( hconnect )))
{
set_last_error( ERROR_INVALID_HANDLE );
More information about the wine-cvs
mailing list