]> granicus.if.org Git - curl/commitdiff
These two variables are now Curl_addrinfo pointers
authorYang Tse <yangsita@gmail.com>
Thu, 30 Oct 2008 16:39:09 +0000 (16:39 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 30 Oct 2008 16:39:09 +0000 (16:39 +0000)
lib/ftp.c

index 44c4f456dbb8645970f7647473cb4eb8a3e89b38..363b9a41225c54629b86649a82061382635f5c35 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -875,7 +875,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
    * IPv6-specific section
    */
   struct Curl_sockaddr_storage ss;
-  struct addrinfo *res, *ai;
+  Curl_ addrinfo *res, *ai;
   socklen_t sslen;
   char hbuf[NI_MAXHOST];
   struct sockaddr *sa=(struct sockaddr *)&ss;