mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
This commit is contained in:
parent
0031d76f2a
commit
5e34f3dc01
4 changed files with 4 additions and 4 deletions
|
|
@ -469,7 +469,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
|||
hostname, port, Curl_strerror(conn,WSAGetLastError()));
|
||||
return NULL;
|
||||
}
|
||||
return Curl_he2ai(h, (unsigned short)port);
|
||||
return Curl_he2ai(h, port);
|
||||
}
|
||||
#endif /* CURLRES_IPV4 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue