[IPHLPAPI]

- Remove conditional redefine of DPRINT. Wine debug channels at this point, and we have NDEBUG.
- Use TRACE instead of DbgPrint. Gets rid of the "Status 2" spam when no static nameserver is in the registry.

svn path=/trunk/; revision=50384
This commit is contained in:
Roel Messiant 2011-01-14 18:47:57 +00:00
parent bb2d08d57e
commit e1fd32ceb8
2 changed files with 3 additions and 6 deletions

View file

@ -160,9 +160,4 @@ BOOL WINAPI
GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
#endif
#ifdef FORCE_DEBUG
#undef DPRINT
#define DPRINT(fmt,x...) DbgPrint("%s:%d:%s: " fmt, __FILE__, __LINE__, __FUNCTION__, ## x)
#endif
#endif/*IPPRIVATE_H*/

View file

@ -47,6 +47,8 @@
#include "iphlpapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
typedef struct _NAME_SERVER_LIST_PRIVATE {
UINT NumServers;
IP_ADDR_STRING * pCurrent;
@ -74,7 +76,7 @@ QueryNameServer(
if (Status != ERROR_SUCCESS)
{
/* failed to retrieve size */
DbgPrint("Status %x\n", Status);
TRACE("Status %x\n", Status);
return Status;
}