diff options
author | Ingela Anderton Andin <[email protected]> | 2011-09-05 10:46:33 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-09-05 10:46:33 +0200 |
commit | e0db6ad2087d1750de433b1c198ab8cc08872d79 (patch) | |
tree | 84e99ad8379a1f0b46c8538fc1392655e1d177f2 /lib/ssl/src/ssl_session_cache.erl | |
parent | e3ea0057e30ee844076df98a8a7350ebb78754d8 (diff) | |
parent | 7db84033da5880f2e3501865749a8c166fe2d358 (diff) | |
download | otp-e0db6ad2087d1750de433b1c198ab8cc08872d79.tar.gz otp-e0db6ad2087d1750de433b1c198ab8cc08872d79.tar.bz2 otp-e0db6ad2087d1750de433b1c198ab8cc08872d79.zip |
Merge remote branch 'upstream/dev' into major
* upstream/dev:
Corrected spec name errors: ip_adress -> ip_address port_num -> port_number
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 d026bf179e..93969f628f 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(), inet:port_num()}, session_id()} | {inet:port_num(), session_id()}. +-type key() :: {{host(), inet:port_number()}, session_id()} | {inet:port_number(), 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(), inet:port_num()} | inet:port_num()) -> [#session{}]. +-spec select_session(db_handle(), {host(), inet:port_number()} | inet:port_number()) -> [#session{}]. %% %% Description: Selects a session that could be reused. Should be callable %% from any process. |