diff options
author | Hans Nilsson <[email protected]> | 2014-03-25 14:58:01 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-03-25 14:58:01 +0100 |
commit | 36f21cf34357c2c6ae357dd4edc063e438f7161c (patch) | |
tree | 1725c86ac33c5c10af39707097bc80d7676d1fed /lib | |
parent | e6e095de8cf834269fa5936221222363144eb47f (diff) | |
download | otp-36f21cf34357c2c6ae357dd4edc063e438f7161c.tar.gz otp-36f21cf34357c2c6ae357dd4edc063e438f7161c.tar.bz2 otp-36f21cf34357c2c6ae357dd4edc063e438f7161c.zip |
ssh: Fix dialyzer warning for arg Data in ssh_connection_handler:send/4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh/src/ssh_connection_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 070a2db5a8..d7fff14f92 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -206,7 +206,7 @@ global_request(ConnectionHandler, Type, false = Reply, Data) -> send_all_state_event(ConnectionHandler, {global_request, self(), Type, Reply, Data}). %%-------------------------------------------------------------------- --spec send(pid(), channel_id(), integer(), iolist(), timeout()) -> +-spec send(pid(), channel_id(), integer(), iodata(), timeout()) -> ok | {error, timeout} | {error, closed}. %%-------------------------------------------------------------------- send(ConnectionHandler, ChannelId, Type, Data, Timeout) -> |