aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-30 13:02:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-30 13:02:31 +0000
commit7ea837a18c7d22c790daf2733eaffcc5450b1bd9 (patch)
tree9141b1083ea27c071e90118f60d8e6be34fee058 /lib/easy.c
parentb8b8473b6d1c9fc3b70a4326f25cdde902f110cc (diff)
adjusted to the new dns cache function to hide more hostip internals
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index d1e7ef442..bc91f4874 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -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,