diff options
author | Ben Tyler <[email protected]> | 2015-11-01 02:27:52 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-11-05 11:36:49 +0100 |
commit | bd5666f98d15aa363820465621977ffb60271954 (patch) | |
tree | baf3d30893b0c6491c62c33133d59d22311cab33 /lib/ssh/src/ssh_connection_handler.erl | |
parent | 0ce885af02b6666d498c408ff0188a5fd22c8575 (diff) | |
download | otp-bd5666f98d15aa363820465621977ffb60271954.tar.gz otp-bd5666f98d15aa363820465621977ffb60271954.tar.bz2 otp-bd5666f98d15aa363820465621977ffb60271954.zip |
Fix spelling of ssh 'subsystem'
This commit does not change any behaviour, since the spelling was internally
consistent.
Diffstat (limited to 'lib/ssh/src/ssh_connection_handler.erl')
-rw-r--r-- | lib/ssh/src/ssh_connection_handler.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 7fb86c1108..099268d521 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -1088,7 +1088,7 @@ handle_info(UnexpectedMessage, StateName, #state{opts = Opts, terminate(normal, _, #state{transport_cb = Transport, connection_state = Connection, socket = Socket}) -> - terminate_subsytem(Connection), + terminate_subsystem(Connection), (catch Transport:close(Socket)), ok; @@ -1117,7 +1117,7 @@ terminate({shutdown, _}, StateName, State) -> terminate(Reason, StateName, #state{ssh_params = Ssh0, starter = _Pid, connection_state = Connection} = State) -> - terminate_subsytem(Connection), + terminate_subsystem(Connection), log_error(Reason), DisconnectMsg = #ssh_msg_disconnect{code = ?SSH_DISCONNECT_BY_APPLICATION, @@ -1128,10 +1128,10 @@ terminate(Reason, StateName, #state{ssh_params = Ssh0, starter = _Pid, terminate(normal, StateName, State#state{ssh_params = Ssh}). -terminate_subsytem(#connection{system_supervisor = SysSup, +terminate_subsystem(#connection{system_supervisor = SysSup, sub_system_supervisor = SubSysSup}) when is_pid(SubSysSup) -> ssh_system_sup:stop_subsystem(SysSup, SubSysSup); -terminate_subsytem(_) -> +terminate_subsystem(_) -> ok. format_status(normal, [_, State]) -> |