Skip to content

Instantly share code, notes, and snippets.

@DBarney
Created January 9, 2013 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DBarney/4495139 to your computer and use it in GitHub Desktop.
Save DBarney/4495139 to your computer and use it in GitHub Desktop.
---
lib/ssl/src/ssl_manager.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index 0cf4f2c..cb1e211 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -145,7 +145,7 @@ new_session_id(Port) ->
call({new_session_id, Port}).
clean_cert_db(Ref, File) ->
- erlang:send_after(?CLEAN_CERT_DB, self(), {clean_cert_db, Ref, File}).
+ erlang:send_after(?CLEAN_CERT_DB, get(ssl_manager), {clean_cert_db, Ref, File}).
%%--------------------------------------------------------------------
-spec register_session(inet:port_number(), #session{}) -> ok.
--
1.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment