diff options
author | Ingela Anderton Andin <[email protected]> | 2011-09-06 10:17:39 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-09-06 10:17:39 +0200 |
commit | 5bdbfa33f7142b888f833b8f2f80cdf2198d9212 (patch) | |
tree | 2aac59d796dc04d9504cb8d2c8618164ae3678a0 /lib/ssl/src/ssl.erl | |
parent | 4498eeecc6ec6742c3473d83cc9d66190ba23fc4 (diff) | |
parent | 37573e70079f994eb2080e4d195a528ac11afba7 (diff) | |
download | otp-5bdbfa33f7142b888f833b8f2f80cdf2198d9212.tar.gz otp-5bdbfa33f7142b888f833b8f2f80cdf2198d9212.tar.bz2 otp-5bdbfa33f7142b888f833b8f2f80cdf2198d9212.zip |
Merge branch 'ia/ssl/dialyzer-spec-correction' into dev
* ia/ssl/dialyzer-spec-correction:
Corrected faulty dialyzer spec
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-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()}. %% |