summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-08-08 13:01:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-08-08 16:28:46 +0200
commitd2b36e466afd69b6e2b202aca21db3bd2e48b190 (patch)
tree8887daeb875fc4a978bb1f2763afb768bc862a16 /lib/hostip.h
parent27f8c93dafc2d3db7938b990efb5e039cfa75251 (diff)
downloadcurl-d2b36e466afd69b6e2b202aca21db3bd2e48b190.tar.gz
global dns cache: didn't work [regression]
CURLOPT_DNS_USE_GLOBAL_CACHE broke in commit c43127414d89ccb (been broken since the libcurl 7.29.0 release). While this option has been documented as deprecated for almost a decade and nobody even reported this bug, it should remain functional. Added test case 1512 to verify
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 9dd47baa6..a38f732a4 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -203,7 +203,7 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data, char *servers);
/*
* Clean off entries from the cache
*/
-void Curl_hostcache_clean(struct SessionHandle *data);
+void Curl_hostcache_clean(struct SessionHandle *data, struct curl_hash *hash);
/*
* Destroy the hostcache of this handle.