aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-03 17:50:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-03 17:50:01 +0000
commitdd893fd8a44cffc225b85ba4909d517a1c3b085e (patch)
tree2801a9ed320a6f6b4860d829e6a3a92f477a5b03 /lib
parent834f07991809b5cd931a78def57f8320e5524ab8 (diff)
ipv6 fix for the 'port' no longer in urldata
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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);