Loading lib/ftp.c +1 −1 Changes for lib/ftp.c: 1 added line, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -1169,7 +1169,6 @@ CURLcode ftp_use_port(struct connectdata *conn) struct sockaddr_in sa; struct sockaddr_in sa; struct hostent *h=NULL; struct hostent *h=NULL; char *hostdataptr=NULL; char *hostdataptr=NULL; size_t size; unsigned short porttouse; unsigned short porttouse; char myhost[256] = ""; char myhost[256] = ""; Loading @@ -1193,6 +1192,7 @@ CURLcode ftp_use_port(struct connectdata *conn) if ( h ) { if ( h ) { if( (portsock = socket(AF_INET, SOCK_STREAM, 0)) >= 0 ) { if( (portsock = socket(AF_INET, SOCK_STREAM, 0)) >= 0 ) { int size; /* we set the secondary socket variable to this for now, it /* we set the secondary socket variable to this for now, it is only so that the cleanup function will close it in case is only so that the cleanup function will close it in case Loading Loading
lib/ftp.c +1 −1 Changes for lib/ftp.c: 1 added line, 1 removed line. Original line number Original line Diff line number Diff line Loading @@ -1169,7 +1169,6 @@ CURLcode ftp_use_port(struct connectdata *conn) struct sockaddr_in sa; struct sockaddr_in sa; struct hostent *h=NULL; struct hostent *h=NULL; char *hostdataptr=NULL; char *hostdataptr=NULL; size_t size; unsigned short porttouse; unsigned short porttouse; char myhost[256] = ""; char myhost[256] = ""; Loading @@ -1193,6 +1192,7 @@ CURLcode ftp_use_port(struct connectdata *conn) if ( h ) { if ( h ) { if( (portsock = socket(AF_INET, SOCK_STREAM, 0)) >= 0 ) { if( (portsock = socket(AF_INET, SOCK_STREAM, 0)) >= 0 ) { int size; /* we set the secondary socket variable to this for now, it /* we set the secondary socket variable to this for now, it is only so that the cleanup function will close it in case is only so that the cleanup function will close it in case Loading