]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Make hostip.c compile again
authorYang Tse <yangsita@gmail.com>
Thu, 12 Nov 2009 04:32:08 +0000 (04:32 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 12 Nov 2009 04:32:08 +0000 (04:32 +0000)
lib/hostip.c

index e40f1f11b2617347c5206eccd290354bab4d286e..8d5f6d5e0471f31f689d278d5b554b6019e88c52 100644 (file)
 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.
  */