corrected for IPv6
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2001 22:42:46 +0000 (22:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2001 22:42:46 +0000 (22:42 +0000)
lib/connect.c

index 34dd72c..ec68162 100644 (file)
@@ -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
    */