diff options
-rw-r--r-- | net/ftp/ftp_network_transaction.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc index 6d2381d..b8acff5 100644 --- a/net/ftp/ftp_network_transaction.cc +++ b/net/ftp/ftp_network_transaction.cc @@ -64,11 +64,11 @@ int FtpNetworkTransaction::Start(const FtpRequestInfo* request_info, int FtpNetworkTransaction::Stop(int error) { if (command_sent_ == COMMAND_QUIT) - return ERR_FAILED; + return error; next_state_ = STATE_CTRL_WRITE_QUIT; last_error_ = error; - return error; + return OK; } int FtpNetworkTransaction::RestartWithAuth(const std::wstring& username, |