aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-24 10:43:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-24 10:43:50 +0000
commit5e34f3dc0133333fb398dd4b285a63f58aa441da (patch)
tree24ad1f8d707fa14cc663f8e1ec534ef7703b2d2d /lib/hostip.c
parent0031d76f2a77e583528a817bcf7b605052b95893 (diff)
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 6c5e56788..7a32d1728 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -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 */