mirror of
https://github.com/curl/curl.git
synced 2026-06-16 17:45:43 +03:00
ipv6 fix for the 'port' no longer in urldata
This commit is contained in:
parent
834f079918
commit
dd893fd8a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue