aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_manager.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-05-24 11:53:56 +0200
committerIngela Anderton Andin <[email protected]>2011-05-24 11:53:56 +0200
commitaab1e1d1290b827b09287cadfa5fbb40c916b437 (patch)
tree95de5ead719912d58608fab67f0a7301e0fe60bd /lib/ssl/src/ssl_manager.erl
parentda2c89c6973eaa808ef56ea42168c5bae97e2787 (diff)
downloadotp-aab1e1d1290b827b09287cadfa5fbb40c916b437.tar.gz
otp-aab1e1d1290b827b09287cadfa5fbb40c916b437.tar.bz2
otp-aab1e1d1290b827b09287cadfa5fbb40c916b437.zip
Corrected last argument to timer:apply_after also corrected a dilyzer spec
Diffstat (limited to 'lib/ssl/src/ssl_manager.erl')
-rw-r--r--lib/ssl/src/ssl_manager.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index 5a2d0c9496..1bbb03bdde 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -270,14 +270,14 @@ handle_cast({invalidate_session, Host, Port,
#state{session_cache = Cache,
session_cache_cb = CacheCb} = State) ->
CacheCb:update(Cache, {{Host, Port}, ID}, Session#session{is_resumable = false}),
- timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, {{Host, Port}, ID}),
+ timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, [{{Host, Port}, ID}]),
{noreply, State};
handle_cast({invalidate_session, Port, #session{session_id = ID} = Session},
#state{session_cache = Cache,
session_cache_cb = CacheCb} = State) ->
CacheCb:update(Cache, {Port, ID}, Session#session{is_resumable = false}),
- timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, {Port, ID}),
+ timer:apply_after(?CLEAN_SESSION_DB, CacheCb, delete, [{Port, ID}]),
{noreply, State};
handle_cast({recache_pem, File, LastWrite, Pid, From},