mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
remove NDEBUG ifdefs from evdns.c
svn:r647
This commit is contained in:
parent
23ef0d0936
commit
506d4dbcf4
@ -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:
|
||||
|
6
evdns.c
6
evdns.c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user