diff options
author | Ingela Anderton Andin <[email protected]> | 2013-01-24 16:51:42 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-01-25 09:22:20 +0100 |
commit | 089f235dd2c2945a63383e79e02616c1a99b50a6 (patch) | |
tree | 00c47ade0de558d12a23accc01fafdddf6251b46 /lib/ssh/src/ssh_channel.erl | |
parent | 0ab216f3dc96890b50f7430895ad5d7f6251f129 (diff) | |
download | otp-089f235dd2c2945a63383e79e02616c1a99b50a6.tar.gz otp-089f235dd2c2945a63383e79e02616c1a99b50a6.tar.bz2 otp-089f235dd2c2945a63383e79e02616c1a99b50a6.zip |
ssh: Fix dialyzer and doc warnings
Diffstat (limited to 'lib/ssh/src/ssh_channel.erl')
-rw-r--r-- | lib/ssh/src/ssh_channel.erl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ssh/src/ssh_channel.erl b/lib/ssh/src/ssh_channel.erl index 4e8f8538c2..062ed764ca 100644 --- a/lib/ssh/src/ssh_channel.erl +++ b/lib/ssh/src/ssh_channel.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2012. All Rights Reserved. +%% Copyright Ericsson AB 2008-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -48,10 +48,7 @@ {ok, NewState :: term()} | {error, Reason :: term()}. -callback handle_msg(Msg ::term(), State :: term()) -> - {noreply, NewState :: term()} | - {noreply, NewState :: term(), timeout() | hibernate} | - {stop, Reason :: term(), NewState :: term()}. - + {ok, State::term()} | {stop, ChannelId::integer(), State::term()}. -callback handle_ssh_msg({ssh_cm, ConnectionRef::term(), SshMsg::term()}, State::term()) -> {ok, State::term()} | |