aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch.erl')
-rw-r--r--src/ranch.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch.erl b/src/ranch.erl
index e9d32ce..087d032 100644
--- a/src/ranch.erl
+++ b/src/ranch.erl
@@ -35,7 +35,7 @@
-export_type([ref/0]).
-spec start_listener(ref(), non_neg_integer(), module(), any(), module(), any())
- -> {ok, pid()} | {error, badarg}.
+ -> supervisor:startchild_ret().
start_listener(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts)
when is_integer(NbAcceptors) andalso is_atom(Transport)
andalso is_atom(Protocol) ->