Get rid of DPRINTF.

This commit is contained in:
Diego Pettenò 2005-01-07 17:09:39 +00:00 committed by Alexandre Julliard
parent 53ca036a56
commit 869a66a8fd
2 changed files with 12 additions and 10 deletions

View File

@ -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 );

View File

@ -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");
}