diff options
author | Hans Nilsson <[email protected]> | 2016-04-06 12:24:12 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-04-28 10:34:17 +0200 |
commit | 62191b31521560e37e1096c697fdc2f7a5378c60 (patch) | |
tree | 2bf1f5fbdb3ba0d3e3fc888cd9376b001a088f08 /lib/ssh/test | |
parent | 8d1ac35a52f9eded2afafe3e1a1cd3474e2f4142 (diff) | |
download | otp-62191b31521560e37e1096c697fdc2f7a5378c60.tar.gz otp-62191b31521560e37e1096c697fdc2f7a5378c60.tar.bz2 otp-62191b31521560e37e1096c697fdc2f7a5378c60.zip |
ssh: remove brain-dead ssh_test_lib:connect without port arg
Diffstat (limited to 'lib/ssh/test')
-rw-r--r-- | lib/ssh/test/ssh_test_lib.erl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl index 4db7d09ccd..06fddb8dc8 100644 --- a/lib/ssh/test/ssh_test_lib.erl +++ b/lib/ssh/test/ssh_test_lib.erl @@ -32,15 +32,8 @@ -define(TIMEOUT, 50000). -connect(Options) -> - connect(hostname(), inet_port(), Options). - connect(Port, Options) when is_integer(Port) -> - connect(hostname(), Port, Options); -connect(any, Options) -> - connect(hostname(), inet_port(), Options); -connect(Host, Options) -> - connect(Host, inet_port(), Options). + connect(hostname(), Port, Options). connect(any, Port, Options) -> connect(hostname(), Port, Options); |