aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/ftp
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-10-14 15:44:02 +0200
committerHans Nilsson <[email protected]>2016-10-14 15:45:17 +0200
commit6394c0df8b1b593ca3c3799ef3a022517d9a730f (patch)
tree98afcdfe4060db826e6c16831946e3b579c21f30 /lib/inets/src/ftp
parentd4caa3dfdb9182f4e3dd95641c7429cc893a371e (diff)
downloadotp-6394c0df8b1b593ca3c3799ef3a022517d9a730f.tar.gz
otp-6394c0df8b1b593ca3c3799ef3a022517d9a730f.tar.bz2
otp-6394c0df8b1b593ca3c3799ef3a022517d9a730f.zip
ftp: added forgotten inet:setopts active once
Diffstat (limited to 'lib/inets/src/ftp')
-rw-r--r--lib/inets/src/ftp/ftp.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index 2fc93b0f2a..39b3bada83 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -2361,6 +2361,7 @@ send_message({ssl, Socket}, Message) ->
activate_ctrl_connection(#state{csock = Socket, ctrl_data = {<<>>, _, _}}) ->
activate_connection(Socket);
activate_ctrl_connection(#state{csock = Socket}) ->
+ activate_connection(Socket),
%% We have already received at least part of the next control message,
%% that has been saved in ctrl_data, process this first.
self() ! {socket_type(Socket), unwrap_socket(Socket), <<>>}.