mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:23:33 +03:00
hostip: remove unused MAX_HOSTCACHE_LEN and MAX_DNS_CACHE_SIZE
These macros are leftovers from when DNS caching was moved out of
hostip.c into its own source file. Both are still defined and used in
lib/dnscache.c; the copies in lib/hostip.c are unreferenced.
Detected with clang -Wunused-macros.
Follow-up to 96d5b5c688
Closes #21550
This commit is contained in:
parent
daf6f541cc
commit
e0e56e9ae4
1 changed files with 0 additions and 4 deletions
|
|
@ -70,10 +70,6 @@
|
|||
#define USE_ALARM_TIMEOUT
|
||||
#endif
|
||||
|
||||
#define MAX_HOSTCACHE_LEN (255 + 7) /* max FQDN + colon + port number + zero */
|
||||
|
||||
#define MAX_DNS_CACHE_SIZE 29999
|
||||
|
||||
#define RESOLV_FAIL(for_proxy) \
|
||||
((for_proxy) ? CURLE_COULDNT_RESOLVE_PROXY : CURLE_COULDNT_RESOLVE_HOST)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue