diff options
author | Loïc Hoguin <[email protected]> | 2012-12-21 17:04:42 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-12-21 17:04:42 +0100 |
commit | 058ad09e8b2c885a0888bda47459acd32ece917e (patch) | |
tree | dcbf07093880e6b4315c86336b92236ee310fa72 /src/ranch.erl | |
parent | 7f4261d1d83dde90be93d3615693b44969f6b446 (diff) | |
parent | 66618454e0925ebd46b6905a1957206b2f2663e9 (diff) | |
download | ranch-058ad09e8b2c885a0888bda47459acd32ece917e.tar.gz ranch-058ad09e8b2c885a0888bda47459acd32ece917e.tar.bz2 ranch-058ad09e8b2c885a0888bda47459acd32ece917e.zip |
Merge branch 'fix/listener_sup_failures' of git://github.com/keynslug/syncranch
Diffstat (limited to 'src/ranch.erl')
-rw-r--r-- | src/ranch.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranch.erl b/src/ranch.erl index 0924ee7..59e1fa7 100644 --- a/src/ranch.erl +++ b/src/ranch.erl @@ -55,6 +55,7 @@ start_listener(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) when is_integer(NbAcceptors) andalso is_atom(Transport) andalso is_atom(Protocol) -> + _ = code:ensure_loaded(Transport), case erlang:function_exported(Transport, name, 0) of false -> {error, badarg}; |