mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:03:38 +03:00
if2ip: build the function also if FTP is present
Previously it was not compiled if CURL_DISABLE_BINDLOCAL is set, but the FTP code is also using this function. Easily found by using configure --disable-bindlocal without disabling FTP. Closes #16933
This commit is contained in:
parent
6e00db58fb
commit
4cf9e87fca
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ unsigned int Curl_ipv6_scope(const struct sockaddr *sa)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_BINDLOCAL
|
#if !defined(CURL_DISABLE_BINDLOCAL) || !defined(CURL_DISABLE_FTP)
|
||||||
|
|
||||||
#if defined(HAVE_GETIFADDRS)
|
#if defined(HAVE_GETIFADDRS)
|
||||||
|
|
||||||
|
|
@ -266,4 +266,4 @@ if2ip_result_t Curl_if2ip(int af,
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CURL_DISABLE_BINDLOCAL */
|
#endif /* CURL_DISABLE_BINDLOCAL && CURL_DISABLE_FTP */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue