Skip to content
Snippets Groups Projects
Commit dd893fd8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ipv6 fix for the 'port' no longer in urldata

parent 834f0799
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment