mirror of
https://github.com/curl/curl.git
synced 2026-04-16 17:51:40 +03:00
fix getinfo CURLINFO_LOCAL* for reused connections follow-up
Reinstate IPV6 build variable that got removed.
This commit is contained in:
parent
c328214a2d
commit
1b2b93e074
1 changed files with 3 additions and 0 deletions
|
|
@ -812,6 +812,9 @@ singleipconnect(struct connectdata *conn,
|
|||
struct SessionHandle *data = conn->data;
|
||||
curl_socket_t sockfd;
|
||||
CURLcode res = CURLE_OK;
|
||||
#ifdef ENABLE_IPV6
|
||||
struct sockaddr_in6 * const sa6 = (void *)&addr.sa_addr;
|
||||
#endif
|
||||
|
||||
*sockp = CURL_SOCKET_BAD;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue