Loading lib/hostip.c +8 −2 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ static struct curl_hash hostname_cache; static int host_cache_initialized; #ifdef CURLDEBUG #ifdef DEBUGBUILD static int ndns = 0; #endif Loading Loading @@ -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. */ Loading Loading
lib/hostip.c +8 −2 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ static struct curl_hash hostname_cache; static int host_cache_initialized; #ifdef CURLDEBUG #ifdef DEBUGBUILD static int ndns = 0; #endif Loading Loading @@ -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. */ Loading