aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-12 22:10:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-12 22:10:42 +0000
commita5da1219bb2b7a01f0e2ea2f6548e845c1eb7038 (patch)
tree9b84f6770298b73e0ae4d0fa932d31caefa5602f /lib/ftp.c
parentbe524fed385a0fccbdcb7f0c26f1ae1f9c46caf4 (diff)
Reversed the logic for sockaddr_storage and made our own Curl_sockaddr_storage
struct instead to use.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 16518d9be..a416dbe9a 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -94,7 +94,7 @@
#include "inet_ntop.h"
#include "select.h"
#include "parsedate.h" /* for the week day and month names */
-#include "sockaddr.h" /* required for sockaddr_storage */
+#include "sockaddr.h" /* required for Curl_sockaddr_storage */
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
#include "inet_ntoa_r.h"
@@ -778,7 +778,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
/******************************************************************
* IPv6-specific section
*/
- struct sockaddr_storage ss;
+ struct Curl_sockaddr_storage ss;
struct addrinfo *res, *ai;
socklen_t sslen;
char hbuf[NI_MAXHOST];