Loading lib/ftp.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -992,7 +992,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, /* we set the secondary socket variable to this for now, it is only so that /* we set the secondary socket variable to this for now, it is only so that the cleanup function will close it in case we fail before the true the cleanup function will close it in case we fail before the true secondary stuff is made */ secondary stuff is made */ if(-1 != conn->sock[SECONDARYSOCKET]) if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) sclose(conn->sock[SECONDARYSOCKET]); sclose(conn->sock[SECONDARYSOCKET]); conn->sock[SECONDARYSOCKET] = portsock; conn->sock[SECONDARYSOCKET] = portsock; Loading Loading
lib/ftp.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -992,7 +992,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, /* we set the secondary socket variable to this for now, it is only so that /* we set the secondary socket variable to this for now, it is only so that the cleanup function will close it in case we fail before the true the cleanup function will close it in case we fail before the true secondary stuff is made */ secondary stuff is made */ if(-1 != conn->sock[SECONDARYSOCKET]) if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) sclose(conn->sock[SECONDARYSOCKET]); sclose(conn->sock[SECONDARYSOCKET]); conn->sock[SECONDARYSOCKET] = portsock; conn->sock[SECONDARYSOCKET] = portsock; Loading