mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[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:
parent
bb2d08d57e
commit
e1fd32ceb8
|
@ -160,9 +160,4 @@ BOOL WINAPI
|
||||||
GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
|
GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FORCE_DEBUG
|
|
||||||
#undef DPRINT
|
|
||||||
#define DPRINT(fmt,x...) DbgPrint("%s:%d:%s: " fmt, __FILE__, __LINE__, __FUNCTION__, ## x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif/*IPPRIVATE_H*/
|
#endif/*IPPRIVATE_H*/
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
#include "iphlpapi.h"
|
#include "iphlpapi.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
|
||||||
|
|
||||||
typedef struct _NAME_SERVER_LIST_PRIVATE {
|
typedef struct _NAME_SERVER_LIST_PRIVATE {
|
||||||
UINT NumServers;
|
UINT NumServers;
|
||||||
IP_ADDR_STRING * pCurrent;
|
IP_ADDR_STRING * pCurrent;
|
||||||
|
@ -74,7 +76,7 @@ QueryNameServer(
|
||||||
if (Status != ERROR_SUCCESS)
|
if (Status != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
/* failed to retrieve size */
|
/* failed to retrieve size */
|
||||||
DbgPrint("Status %x\n", Status);
|
TRACE("Status %x\n", Status);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue