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

@@ -122,7 +122,7 @@ CURLM *curl_multi_init(void)
multi->type = CURL_MULTI_HANDLE;
}
multi->hostcache = Curl_hash_alloc(7, Curl_freednsinfo);
multi->hostcache = Curl_mk_dnscache();
if(!multi->hostcache) {
/* failure, free mem and bail out */
free(multi);