diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-12 22:10:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-12 22:10:42 +0000 |
commit | a5da1219bb2b7a01f0e2ea2f6548e845c1eb7038 (patch) | |
tree | 9b84f6770298b73e0ae4d0fa932d31caefa5602f /lib/ftp.c | |
parent | be524fed385a0fccbdcb7f0c26f1ae1f9c46caf4 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |