diff --git a/ChangeLog b/ChangeLog index d49fef79..af3dc8c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ Changes in 1.4.2: o Add a int64_t parsing function, with unit tests, so we can apply Scott Lamb's fix to allow large HTTP values. o Use a 64-bit field to hold HTTP content-lengths. Patch from Scott Lamb. o Allow regression code to build even without Python installed + o remove NDEBUG ifdefs from evdns.c Changes in 1.4.1-beta: o free minheap on event_base_free(); from Christopher Layne @@ -32,7 +33,7 @@ Changes in 1.4.1-beta: o When building with GCC, use the "format" attribute to verify type correctness of calls to printf-like functions. o removed linger from http server socket; reported by Ilya Martynov o Rewrite win32.c backend to be O(n lg n) rather than O(n^2) - + Changes in 1.4.0-beta: o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr. o demote most http warnings to debug messages diff --git a/evdns.c b/evdns.c index 20429b29..51859a64 100644 --- a/evdns.c +++ b/evdns.c @@ -47,8 +47,6 @@ #include #endif -/* #define NDEBUG */ - #ifndef DNS_USE_CPU_CLOCK_FOR_ID #ifndef DNS_USE_GETTIMEOFDAY_FOR_ID #ifndef DNS_USE_OPENSSL_FOR_ID @@ -128,9 +126,7 @@ #define HOST_NAME_MAX 255 #endif -#ifndef NDEBUG #include -#endif #undef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) @@ -388,7 +384,6 @@ inet_aton(const char *c, struct in_addr *addr) #define ISSPACE(c) isspace((int)(unsigned char)(c)) #define ISDIGIT(c) isdigit((int)(unsigned char)(c)) -#ifndef NDEBUG static const char * debug_ntoa(u32 address) { @@ -401,7 +396,6 @@ debug_ntoa(u32 address) (int)(u8)((a )&0xff)); return buf; } -#endif static evdns_debug_log_fn_type evdns_log_fn = NULL;