From e4b26deed9f99b04dae1195144d9cbdbd61be515 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Tue, 19 May 2015 13:20:36 +0200 Subject: ssh: Remove erroneous option 'role' This option is set internaly but there is no reason to set it when calling a function. --- lib/ssh/src/ssh.erl | 2 -- 1 file changed, 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 -- cgit v1.2.3