From 869a66a8fddcd4fc777c51ac9388e06a433a8eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Petten=C3=B2?= Date: Fri, 7 Jan 2005 17:09:39 +0000 Subject: [PATCH] Get rid of DPRINTF. --- dlls/wininet/http.c | 12 ++++++------ dlls/wininet/internet.c | 10 ++++++---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index cb1b38f52b2..0887beb6097 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1101,26 +1101,26 @@ BOOL WINAPI HttpQueryInfoW(HINTERNET hHttpRequest, DWORD dwInfoLevel, TRACE(" Attribute:"); for (i = 0; i < (sizeof(query_flags) / sizeof(query_flags[0])); i++) { if (query_flags[i].val == info) { - DPRINTF(" %s", query_flags[i].name); + TRACE(" %s", query_flags[i].name); break; } } if (i == (sizeof(query_flags) / sizeof(query_flags[0]))) { - DPRINTF(" Unknown (%08lx)", info); + TRACE(" Unknown (%08lx)", info); } - DPRINTF(" Modifier:"); + TRACE(" Modifier:"); for (i = 0; i < (sizeof(modifier_flags) / sizeof(modifier_flags[0])); i++) { if (modifier_flags[i].val & info_mod) { - DPRINTF(" %s", modifier_flags[i].name); + TRACE(" %s", modifier_flags[i].name); info_mod &= ~ modifier_flags[i].val; } } if (info_mod) { - DPRINTF(" Unknown (%08lx)", info_mod); + TRACE(" Unknown (%08lx)", info_mod); } - DPRINTF("\n"); + TRACE("\n"); } lpwhr = (LPWININETHTTPREQW) WININET_GetObject( hHttpRequest ); diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 49c7779b333..70ce9d5199d 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -3027,7 +3027,7 @@ BOOL WINAPI InternetCreateUrlW(LPURL_COMPONENTSW lpUrlComponents, DWORD dwFlags, /*********************************************************************** * dump_INTERNET_FLAGS * - * Helper function to DPRINTF the internet flags. + * Helper function to TRACE the internet flags. * * RETURNS * None @@ -3071,10 +3071,12 @@ void dump_INTERNET_FLAGS(DWORD dwFlags) for (i = 0; i < (sizeof(flag) / sizeof(flag[0])); i++) { if (flag[i].val & dwFlags) { - DPRINTF(" %s", flag[i].name); + TRACE(" %s", flag[i].name); dwFlags &= ~flag[i].val; } } - if (dwFlags) DPRINTF(" Unknown flags (%08lx)", dwFlags); - DPRINTF("\n"); + if (dwFlags) + TRACE(" Unknown flags (%08lx)\n", dwFlags); + else + TRACE("\n"); }