From dd893fd8a44cffc225b85ba4909d517a1c3b085e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 3 Mar 2001 17:50:01 +0000 Subject: [PATCH] ipv6 fix for the 'port' no longer in urldata --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 4281109a6..9318d4132 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1561,7 +1561,7 @@ static CURLcode _connect(CURL *curl, if(!conn->hp) { #ifdef ENABLE_IPV6 /* it might already be set if reusing a connection */ - conn->hp = Curl_getaddrinfo(data, conn->name, data->port); + conn->hp = Curl_getaddrinfo(data, conn->name, conn->port); #else /* it might already be set if reusing a connection */ conn->hp = Curl_gethost(data, conn->name, &conn->hostent_buf);