diff options
author | Ingela Anderton Andin <[email protected]> | 2011-09-06 10:15:42 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-09-06 10:15:42 +0200 |
commit | 37573e70079f994eb2080e4d195a528ac11afba7 (patch) | |
tree | 76877a060a0b8f1a00a6f769d008a72eb321a9ff /lib/ssl/src | |
parent | 7db84033da5880f2e3501865749a8c166fe2d358 (diff) | |
download | otp-37573e70079f994eb2080e4d195a528ac11afba7.tar.gz otp-37573e70079f994eb2080e4d195a528ac11afba7.tar.bz2 otp-37573e70079f994eb2080e4d195a528ac11afba7.zip |
Corrected faulty dialyzer spec
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 6074dab3ca..59f8479a4c 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -99,11 +99,11 @@ stop() -> application:stop(ssl). %%-------------------------------------------------------------------- --spec connect(host() | inet:port_number(), [connect_option()]) -> {ok, #sslsocket{}} | +-spec connect(host() | port(), [connect_option()]) -> {ok, #sslsocket{}} | {error, reason()}. --spec connect(host() | inet:port_number(), [connect_option()] | inet:port_number(), timeout() | list()) -> +-spec connect(host() | port(), [connect_option()] | inet:port_number(), timeout() | list()) -> {ok, #sslsocket{}} | {error, reason()}. --spec connect(host() | inet:port_number(), inet:port_number(), list(), timeout()) -> +-spec connect(host() | port(), inet:port_number(), list(), timeout()) -> {ok, #sslsocket{}} | {error, reason()}. %% |