aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-01 22:42:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-01 22:42:46 +0000
commitdc27488c47ececa8801c9173006a103f190e73e7 (patch)
tree8944ca7ce0910b02e18e7abc18211f4a8d7bdd87 /lib/connect.c
parent375e615a6dc68f46c191c44f6b8c57c7346ba933 (diff)
corrected for IPv6
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 34dd72c28..ec68162c3 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -172,6 +172,7 @@ CURLcode Curl_connecthost(struct connectdata *conn,
struct timeval before = Curl_tvnow();
#ifdef ENABLE_IPV6
+ struct addrinfo *ai;
/*
* Connecting with IPv6 support is so much easier and cleanly done
*/