made the Curl_he2ai() take the port number as an int intead, to avoid lots

of typecasts all over
This commit is contained in:
Daniel Stenberg 2004-06-24 10:43:50 +00:00
parent 0031d76f2a
commit 5e34f3dc01
4 changed files with 4 additions and 4 deletions

View file

@ -555,6 +555,6 @@ Curl_addrinfo *Curl_addrinfo_copy(void *org, int port)
{
struct hostent *orig = org;
return Curl_he2ai(orig, (unsigned short)port);
return Curl_he2ai(orig, port);
}
#endif /* CURLRES_ADDRINFO_COPY */