Loading lib/ftp.c +8 −6 Original line number Diff line number Diff line Loading @@ -2560,6 +2560,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) break; case FTP_CCC: if (ftpcode < 500) { /* First shut down the SSL layer (note: this call will block) */ result = Curl_ssl_shutdown(conn, FIRSTSOCKET); Loading @@ -2567,6 +2568,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) failf(conn->data, "Failed to clear the command channel (CCC)"); return result; } } /* Then continue as normal */ result = ftp_state_pwd(conn); Loading Loading
lib/ftp.c +8 −6 Original line number Diff line number Diff line Loading @@ -2560,6 +2560,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) break; case FTP_CCC: if (ftpcode < 500) { /* First shut down the SSL layer (note: this call will block) */ result = Curl_ssl_shutdown(conn, FIRSTSOCKET); Loading @@ -2567,6 +2568,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) failf(conn->data, "Failed to clear the command channel (CCC)"); return result; } } /* Then continue as normal */ result = ftp_state_pwd(conn); Loading