adjusted to the new dns cache function to hide more hostip internals

This commit is contained in:
Daniel Stenberg
2004-03-30 13:02:31 +00:00
parent b8b8473b6d
commit 7ea837a18c
5 changed files with 8 additions and 11 deletions

View File

@@ -271,7 +271,7 @@ CURLcode curl_easy_perform(CURL *curl)
}
if (!data->hostcache) {
data->hostcache = Curl_hash_alloc(7, Curl_freednsinfo);
data->hostcache = Curl_mk_dnscache();
if(!data->hostcache)
/* While we possibly could survive and do good without a host cache,