remove NDEBUG ifdefs from evdns.c
authorNiels Provos <provos@gmail.com>
Sun, 17 Feb 2008 01:31:31 +0000 (01:31 +0000)
committerNiels Provos <provos@gmail.com>
Sun, 17 Feb 2008 01:31:31 +0000 (01:31 +0000)
svn:r647

ChangeLog
evdns.c

index dcdcd1635f8d628efc93dffb9325cebec0d27f89..a1d28e5717a17795f8deed72436c5cdfc0381756 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/evdns.c b/evdns.c
index c9d7080f9249850e9414e57738d770a405a8beef..002190f4519aca5776c607a1520df9320726af4e 100644 (file)
--- a/evdns.c
+++ b/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
 #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;