aboutsummaryrefslogtreecommitdiff
path: root/lib/share.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/share.c
parentb8b8473b6d1c9fc3b70a4326f25cdde902f110cc (diff)
adjusted to the new dns cache function to hide more hostip internals
Diffstat (limited to 'lib/share.c')
-rw-r--r--lib/share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/share.c b/lib/share.c
index ff1aef2e5..e554339de 100644
--- a/lib/share.c
+++ b/lib/share.c
@@ -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;