aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index c9fa72eda..388e1d289 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -777,11 +777,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
/******************************************************************
* IPv6-specific section
*/
-#ifdef HAVE_STRUCT_SOCKADDR_STORAGE
struct sockaddr_storage ss;
-#else
- char ss[256]; /* this should be big enough to fit a lot */
-#endif
struct addrinfo *res, *ai;
socklen_t sslen;
char hbuf[NI_MAXHOST];