diff options
author | Ingela Anderton Andin <[email protected]> | 2011-08-22 16:59:36 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-08-31 11:31:48 +0200 |
commit | 4b0b4d1b8f61886182e93c546de59d08ff7b7caf (patch) | |
tree | ab90e74050c05ead80cbc9d440f450c502fc35f4 /lib/ssl/src/ssl_session_cache.erl | |
parent | 59da37382c684657c73c0377509bd05e229e2d3b (diff) | |
download | otp-4b0b4d1b8f61886182e93c546de59d08ff7b7caf.tar.gz otp-4b0b4d1b8f61886182e93c546de59d08ff7b7caf.tar.bz2 otp-4b0b4d1b8f61886182e93c546de59d08ff7b7caf.zip |
Use inet and gen_* dialyzer specs
Diffstat (limited to 'lib/ssl/src/ssl_session_cache.erl')
-rw-r--r-- | lib/ssl/src/ssl_session_cache.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_session_cache.erl b/lib/ssl/src/ssl_session_cache.erl index 66610817be..d026bf179e 100644 --- a/lib/ssl/src/ssl_session_cache.erl +++ b/lib/ssl/src/ssl_session_cache.erl @@ -28,7 +28,7 @@ -export([init/1, terminate/1, lookup/2, update/3, delete/2, foldl/3, select_session/2]). --type key() :: {{host(), port_num()}, session_id()} | {port_num(), session_id()}. +-type key() :: {{host(), inet:port_num()}, session_id()} | {inet:port_num(), session_id()}. %%-------------------------------------------------------------------- -spec init(list()) -> db_handle(). %% Returns reference to the cache (opaque) @@ -91,7 +91,7 @@ foldl(Fun, Acc0, Cache) -> ets:foldl(Fun, Acc0, Cache). %%-------------------------------------------------------------------- --spec select_session(db_handle(), {host(), port_num()} | port_num()) -> [#session{}]. +-spec select_session(db_handle(), {host(), inet:port_num()} | inet:port_num()) -> [#session{}]. %% %% Description: Selects a session that could be reused. Should be callable %% from any process. |