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

@@ -73,7 +73,7 @@ curl_share_setopt(CURLSH *sh, CURLSHoption option, ...)
{
case CURL_LOCK_DATA_DNS:
if (!share->hostcache) {
share->hostcache = Curl_hash_alloc(7, Curl_freednsinfo);
share->hostcache = Curl_mk_dnscache();
}
break;