diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 10:43:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 10:43:50 +0000 |
commit | 5e34f3dc0133333fb398dd4b285a63f58aa441da (patch) | |
tree | 24ad1f8d707fa14cc663f8e1ec534ef7703b2d2d /lib/hostthre.c | |
parent | 0031d76f2a77e583528a817bcf7b605052b95893 (diff) |
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
Diffstat (limited to 'lib/hostthre.c')
-rw-r--r-- | lib/hostthre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c index a13159f5f..be8ab20a8 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -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 */ |