diff options
author | Fredrik Gustafsson <[email protected]> | 2013-02-22 15:30:29 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-02-22 15:30:29 +0100 |
commit | 17231ca24cbf3b136301f1076bb94247344e9f35 (patch) | |
tree | 5ef0821c9294e8fbd40dab188980f5b8393116d3 /lib/inets/src/ftp/ftp.erl | |
parent | f1d328bdbc58e2ad0325c11edb3bfa0db50b84c3 (diff) | |
parent | ba1902911b675e1edf2e941a4df327f6e312b364 (diff) | |
download | otp-17231ca24cbf3b136301f1076bb94247344e9f35.tar.gz otp-17231ca24cbf3b136301f1076bb94247344e9f35.tar.bz2 otp-17231ca24cbf3b136301f1076bb94247344e9f35.zip |
Merge branch 'sal/ftp/OTP-10886'
* sal/ftp/OTP-10886:
Changed to correct errorcode in testcase
Handle correctly the "No files found or file unavailable" error code.
Diffstat (limited to 'lib/inets/src/ftp/ftp.erl')
-rw-r--r-- | lib/inets/src/ftp/ftp.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index fe25c23316..132a384a49 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -1899,6 +1899,10 @@ ctrl_result_response(pos_compl, #state{client = From} = State, _) -> gen_server:reply(From, ok), {noreply, State#state{client = undefined, caller = undefined}}; +ctrl_result_response(enofile, #state{client = From} = State, _) -> + gen_server:reply(From, {error, enofile}), + {noreply, State#state{client = undefined, caller = undefined}}; + ctrl_result_response(Status, #state{client = From} = State, _) when (Status =:= etnospc) orelse (Status =:= epnospc) orelse |