diff options
author | Yang Tse <yangsita@gmail.com> | 2010-11-30 13:42:02 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-11-30 13:42:02 +0100 |
commit | 1b2b93e0746ed09daf62ffc55cff1dcaaa3dff09 (patch) | |
tree | 2660c4755800277a65203366309961c47585de7e | |
parent | c328214a2dc145bd5671c6dcb88865d195c5dea1 (diff) |
fix getinfo CURLINFO_LOCAL* for reused connections follow-up
Reinstate IPV6 build variable that got removed.
-rw-r--r-- | lib/connect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index 95033fa81..3d829f7b7 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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; |