remove NDEBUG ifdefs from evdns.c

svn:r647
This commit is contained in:
Niels Provos 2008-02-17 01:31:31 +00:00
parent 23ef0d0936
commit 506d4dbcf4
2 changed files with 1 additions and 6 deletions

View File

@ -42,6 +42,7 @@ Changes in current version:
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.0:

View File

@ -47,8 +47,6 @@
#include <sys/timeb.h>
#endif
/* #define NDEBUG */
#ifndef DNS_USE_CPU_CLOCK_FOR_ID
#ifndef DNS_USE_GETTIMEOFDAY_FOR_ID
#ifndef DNS_USE_OPENSSL_FOR_ID
@ -129,9 +127,7 @@
#define HOST_NAME_MAX 255
#endif
#ifndef NDEBUG
#include <stdio.h>
#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;