]> granicus.if.org Git - curl/commitdiff
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 34dd72c282d69730ccb918bac0f110103ebb7964..ec68162c3141bc4fd5682167a67b3efd9fd46b77 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
    */