summaryrefslogtreecommitdiffstats
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2020-12-09 06:38:24 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-09 16:45:09 (GMT)
commit5aacc593a961fe9ee1427c03d18fba8947a9e33d (patch)
tree1eb7234820ce18ece5ae773015217f8135c9c08e /lib/hostip.c
parent7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04 (diff)
downloadCMake-5aacc593a961fe9ee1427c03d18fba8947a9e33d.zip
CMake-5aacc593a961fe9ee1427c03d18fba8947a9e33d.tar.gz
CMake-5aacc593a961fe9ee1427c03d18fba8947a9e33d.tar.bz2
curl 2020-12-09 (e0528597)
Code extracted from: https://github.com/curl/curl.git at commit e052859759b34d0e05ce0f17244873e5cd7b457b (curl-7_74_0).
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index dd5916e..ab1f6df 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -9,7 +9,7 @@
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at https://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -206,7 +206,7 @@ hostcache_timestamp_remove(void *datap, void *hc)
* Prune the DNS cache. This assumes that a lock has already been taken.
*/
static void
-hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now)
+hostcache_prune(struct Curl_hash *hostcache, long cache_timeout, time_t now)
{
struct hostcache_prune_data user;
@@ -843,7 +843,7 @@ static void freednsentry(void *freethis)
/*
* Curl_mk_dnscache() inits a new DNS cache and returns success/failure.
*/
-int Curl_mk_dnscache(struct curl_hash *hash)
+int Curl_mk_dnscache(struct Curl_hash *hash)
{
return Curl_hash_init(hash, 7, Curl_hash_str, Curl_str_key_compare,
freednsentry);
@@ -857,7 +857,7 @@ int Curl_mk_dnscache(struct curl_hash *hash)
*/
void Curl_hostcache_clean(struct Curl_easy *data,
- struct curl_hash *hash)
+ struct Curl_hash *hash)
{
if(data && data->share)
Curl_share_lock(data, CURL_LOCK_DATA_DNS, CURL_LOCK_ACCESS_SINGLE);