aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorJean-Philippe Barette-LaPierre <jpbarrette@gmail.com>2003-02-04 23:48:46 +0000
committerJean-Philippe Barette-LaPierre <jpbarrette@gmail.com>2003-02-04 23:48:46 +0000
commitbeb13a1d3e832ae97221ba1d9ad7f9bc262de798 (patch)
tree4d7a4a247c950e3959b9568d76df29df9d54ba8c /lib/hostip.h
parentfa47138327a98195d0be2c8c2d741cee8763d74d (diff)
added the sharing of DNS cache
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 396508e77..fc1474c39 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -59,7 +59,7 @@ struct Curl_dns_entry *Curl_resolv(struct SessionHandle *data,
int port);
/* unlock a previously resolved dns entry */
-#define Curl_resolv_unlock(dns) dns->inuse--
+void Curl_resolv_unlock(struct SessionHandle *data, struct Curl_dns_entry *dns);
/* for debugging purposes only: */
void Curl_scan_cache_used(void *user, void *ptr);