aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_acceptor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_acceptor.erl b/src/cowboy_acceptor.erl
index 9c35edb..d4d7f5c 100644
--- a/src/cowboy_acceptor.erl
+++ b/src/cowboy_acceptor.erl
@@ -35,7 +35,7 @@ acceptor(LSocket, Transport, Protocol, Opts) ->
{ok, CSocket} ->
{ok, Pid} = supervisor:start_child(cowboy_protocols_sup,
[CSocket, Transport, Protocol, Opts]),
- ok = Transport:controlling_process(CSocket, Pid);
+ Transport:controlling_process(CSocket, Pid);
{error, _Reason} ->
%% @todo Probably do something here. If the socket was closed,
%% we may want to try and listen again on the port?