mirror of
https://github.com/curl/curl.git
synced 2026-08-04 07:59:59 +03:00
inet_ntop: rename curlx_inet_ntop to Curl_inet_ntop
It is not part of the curlx club. Closes #17313
This commit is contained in:
parent
b794264408
commit
c37f4b6ac3
7 changed files with 17 additions and 19 deletions
|
|
@ -513,7 +513,7 @@ static CURLUcode ipv6_parse(struct Curl_URL *u, char *hostname,
|
|||
hostname[hlen] = 0; /* end the address there */
|
||||
if(1 != curlx_inet_pton(AF_INET6, hostname, dest))
|
||||
return CURLUE_BAD_IPV6;
|
||||
if(curlx_inet_ntop(AF_INET6, dest, hostname, hlen)) {
|
||||
if(Curl_inet_ntop(AF_INET6, dest, hostname, hlen)) {
|
||||
hlen = strlen(hostname); /* might be shorter now */
|
||||
hostname[hlen + 1] = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue