mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:37:16 +03:00
oops, return error if an error did occur!
This commit is contained in:
parent
0b7f5ad508
commit
0b8ccd0ae7
1 changed files with 1 additions and 0 deletions
|
|
@ -3819,6 +3819,7 @@ static CURLcode ftp_dophase_done(struct connectdata *conn,
|
|||
/* Failure detected, close the second socket if it was created already */
|
||||
sclose(conn->sock[SECONDARYSOCKET]);
|
||||
conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD;
|
||||
return result;
|
||||
}
|
||||
|
||||
if(ftp->no_transfer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue