summaryrefslogtreecommitdiff
path: root/package/tor/patches/patch-src_or_eventdns_c
blob: 138469f09fd7f2c42d9fd740cbb270301ec9e473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- tor-0.2.1.20.orig/src/or/eventdns.c	2009-09-17 08:02:18.000000000 +0200
+++ tor-0.2.1.20/src/or/eventdns.c	2009-12-03 23:49:27.000000000 +0100
@@ -375,7 +375,6 @@ error_is_eagain(int err)
 #define TOLOWER(c) TOR_TOLOWER(c)
 #define TOUPPER(c) TOR_TOUPPER(c)
 
-#ifndef NDEBUG
 static const char *
 debug_ntoa(u32 address)
 {
@@ -404,7 +403,6 @@ debug_ntop(const struct sockaddr *sa)
 	}
 	return "<unknown>";
 }
-#endif
 
 static evdns_debug_log_fn_type evdns_log_fn = NULL;