Author: rmessiant Date: Fri Jan 14 18:47:57 2011 New Revision: 50384
URL: http://svn.reactos.org/svn/reactos?rev=50384&view=rev Log: [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.
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpapi... ============================================================================== --- trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] Fri Jan 14 18:47:57 2011 @@ -160,9 +160,4 @@ 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*/
Modified: trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/resinfo_... ============================================================================== --- trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/iphlpapi/resinfo_reactos.c [iso-8859-1] Fri Jan 14 18:47:57 2011 @@ -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 @@ if (Status != ERROR_SUCCESS) { /* failed to retrieve size */ - DbgPrint("Status %x\n", Status); + TRACE("Status %x\n", Status); return Status; }