aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-12 04:32:08 +0000
committerYang Tse <yangsita@gmail.com>2009-11-12 04:32:08 +0000
commit668dc0ad87622fe104b5dde5876a8030a2aeb213 (patch)
tree3029636ae9e9261c206c2c7d849a11714f4a63c6 /lib
parent0b7e0eed49ea9c661b1a97449f59da313e7f08da (diff)
Make hostip.c compile again
Diffstat (limited to 'lib')
-rw-r--r--lib/hostip.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index e40f1f11b..8d5f6d5e0 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -123,7 +123,7 @@
static struct curl_hash hostname_cache;
static int host_cache_initialized;
-#ifdef CURLDEBUG
+#ifdef DEBUGBUILD
static int ndns = 0;
#endif
@@ -711,13 +711,19 @@ static void freednsentry(void *freethis)
}
}
-#ifdef CURLDEBUG
+#if 0
+
+TODO before 7.19.8: Give some use to this function or remove it.
+
+#ifdef DEBUGBUILD
int curl_get_ndns(void)
{
return ndns;
}
#endif
+#endif
+
/*
* Curl_mk_dnscache() creates a new DNS cache and returns the handle for it.
*/