aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_listener_sup.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-07-25 10:57:00 +0200
committerLoïc Hoguin <[email protected]>2012-07-25 10:57:00 +0200
commit1d2940b37917a9217338caa4dea37890ac5b96d3 (patch)
tree8e3865ad84e5324f73ce203b0b762336bf359ea8 /src/ranch_listener_sup.erl
parentb72fe3e67e65c66d979a9651ebc815bdc553601c (diff)
downloadranch-1d2940b37917a9217338caa4dea37890ac5b96d3.tar.gz
ranch-1d2940b37917a9217338caa4dea37890ac5b96d3.tar.bz2
ranch-1d2940b37917a9217338caa4dea37890ac5b96d3.zip
Register acceptors through ranch_server
Diffstat (limited to 'src/ranch_listener_sup.erl')
-rw-r--r--src/ranch_listener_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_listener_sup.erl b/src/ranch_listener_sup.erl
index b42732d..6adf618 100644
--- a/src/ranch_listener_sup.erl
+++ b/src/ranch_listener_sup.erl
@@ -38,7 +38,7 @@ start_link(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) ->
permanent, 5000, supervisor, [ranch_conns_sup]}),
{ok, _PoolPid} = supervisor:start_child(SupPid,
{ranch_acceptors_sup, {ranch_acceptors_sup, start_link, [
- NbAcceptors, Transport, TransOpts,
+ Ref, NbAcceptors, Transport, TransOpts,
Protocol, ProtoOpts, ListenerPid, ConnsPid
]}, permanent, 5000, supervisor, [ranch_acceptors_sup]}),
{ok, SupPid}.