diff options
author | Hans Nilsson <[email protected]> | 2015-05-19 13:20:36 +0200 |
---|---|---|
committer | Hans <[email protected]> | 2015-05-26 15:08:25 +0200 |
commit | e4b26deed9f99b04dae1195144d9cbdbd61be515 (patch) | |
tree | ab1bdd34d874c5f1f3cf6a527bd828a4f8aa7207 /lib | |
parent | af51a9165b53cbbeae7428630299f82f0271dae0 (diff) | |
download | otp-e4b26deed9f99b04dae1195144d9cbdbd61be515.tar.gz otp-e4b26deed9f99b04dae1195144d9cbdbd61be515.tar.bz2 otp-e4b26deed9f99b04dae1195144d9cbdbd61be515.zip |
ssh: Remove erroneous option 'role'
This option is set internaly but there is no reason to set it when calling a function.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh/src/ssh.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index 71e7d77475..a9d6f09e72 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -297,8 +297,6 @@ handle_option([{pwdfun, _} = Opt | Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); handle_option([{key_cb, _} = Opt | Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); -handle_option([{role, _} = Opt | Rest], SocketOptions, SshOptions) -> - handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); handle_option([{compression, _} = Opt | Rest], SocketOptions, SshOptions) -> handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]); %%Backwards compatibility |