aboutsummaryrefslogtreecommitdiff
path: root/lib/hostthre.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostthre.c')
-rw-r--r--lib/hostthre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index 9014b02c9..29b6ab387 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 h;
+ return Curl_he2ai(h, port);
}
#endif /* CURLRES_IPV4 */