mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +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
|
|
@ -215,7 +215,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname, int port);
|
|||
|
||||
/* [ipv4 only] Curl_he2ai() converts a struct hostent to a Curl_addrinfo chain
|
||||
and returns it */
|
||||
Curl_addrinfo *Curl_he2ai(struct hostent *, unsigned short port);
|
||||
Curl_addrinfo *Curl_he2ai(struct hostent *, int port);
|
||||
|
||||
/* relocate a hostent struct */
|
||||
void Curl_hostent_relocate(struct hostent *h, long offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue