summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/chessh/ssh/cli.ex14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/chessh/ssh/cli.ex b/lib/chessh/ssh/cli.ex
index 7ab0433..c7befe0 100644
--- a/lib/chessh/ssh/cli.ex
+++ b/lib/chessh/ssh/cli.ex
@@ -5,22 +5,22 @@ defmodule Chessh.SSH.Cli do
{:ok, %{}}
end
- def handle_msg(message, state) do
- {:ok, state}
- end
-
- def handle_ssh_msg(message, state) do
+ def handle_msg(_message, state) do
{:ok, state}
end
def handle_ssh_msg(
- {:ssh_cm, _connection_handler, {:exit_signal, channel_id, signal, err, lang}},
+ {:ssh_cm, _connection_handler, {:exit_signal, channel_id, _signal, _err, _lang}},
state
) do
{:stop, channel_id, state}
end
- def terminate(reason, state) do
+ def handle_ssh_msg(_message, state) do
+ {:ok, state}
+ end
+
+ def terminate(_reason, _state) do
:ok
end
end