mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
1) the dns_cache_timeout should be an integer, not a bool
2) in the curl_dns_cache_entry structure, timestamp should be a time_t instead of an integer (although I doubt it matters).
This commit is contained in:
parent
22ac08e06d
commit
c0bfe7be15
2 changed files with 3 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ void Curl_global_host_cache_dtor(void)
|
|||
|
||||
struct curl_dns_cache_entry {
|
||||
Curl_addrinfo *addr;
|
||||
int timestamp;
|
||||
time_t timestamp;
|
||||
};
|
||||
|
||||
Curl_addrinfo *Curl_resolv(struct SessionHandle *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue