Loading lib/ftp.c +0 −4 Original line number Diff line number Diff line Loading @@ -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]; Loading lib/setup.h +8 −1 Original line number Diff line number Diff line Loading @@ -309,4 +309,11 @@ typedef int curl_socket_t; #define DEBUGF(x) #endif #endif /* __CONFIG_H */ #ifndef HAVE_STRUCT_SOCKADDR_STORAGE struct sockaddr_storage { char buffer[256]; /* this should be big enough to fit a lot */ }; #endif #endif /* __SETUP_H */ Loading
lib/ftp.c +0 −4 Original line number Diff line number Diff line Loading @@ -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]; Loading
lib/setup.h +8 −1 Original line number Diff line number Diff line Loading @@ -309,4 +309,11 @@ typedef int curl_socket_t; #define DEBUGF(x) #endif #endif /* __CONFIG_H */ #ifndef HAVE_STRUCT_SOCKADDR_STORAGE struct sockaddr_storage { char buffer[256]; /* this should be big enough to fit a lot */ }; #endif #endif /* __SETUP_H */