1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

oops, return error if an error did occur!

This commit is contained in:
Daniel Stenberg 2005-09-14 15:04:01 +00:00
parent 0b7f5ad508
commit 0b8ccd0ae7

View File

@ -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)