Commit 0b8ccd0a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

oops, return error if an error did occur!

parent 0b7f5ad5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)