aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/ftp
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-03-15 14:53:52 +0100
committerHans Nilsson <[email protected]>2017-03-15 15:03:25 +0100
commiteb04c4f620121e86ab8fcff055b69af74ef813e8 (patch)
tree98f94f74db6a87055d027cfb1fb1187343a354e1 /lib/inets/src/ftp
parent1e1af8a35bb3a4c7ee88e615fb45697b1aef9363 (diff)
downloadotp-eb04c4f620121e86ab8fcff055b69af74ef813e8.tar.gz
otp-eb04c4f620121e86ab8fcff055b69af74ef813e8.tar.bz2
otp-eb04c4f620121e86ab8fcff055b69af74ef813e8.zip
inets/ftp: spelling correction
Diffstat (limited to 'lib/inets/src/ftp')
-rw-r--r--lib/inets/src/ftp/ftp.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index eea4b751d8..2a225e930e 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -1601,13 +1601,13 @@ terminate(normal, State) ->
%% If terminate reason =/= normal the progress reporting process will
%% be killed by the exit signal.
progress_report(stop, State),
- do_termiante({error, econn}, State);
+ do_terminate({error, econn}, State);
terminate(Reason, State) ->
Report = io_lib:format("Ftp connection closed due to: ~p~n", [Reason]),
error_logger:error_report(Report),
- do_termiante({error, eclosed}, State).
+ do_terminate({error, eclosed}, State).
-do_termiante(ErrorMsg, State) ->
+do_terminate(ErrorMsg, State) ->
close_data_connection(State),
close_ctrl_connection(State),
case State#state.client of