Skip to content
Snippets Groups Projects
Commit 0b8ccd0a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

oops, return error if an error did occur!

parent 0b7f5ad5
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment