aboutsummaryrefslogtreecommitdiffstats
path: root/test/trap_exit_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/trap_exit_protocol.erl')
-rw-r--r--test/trap_exit_protocol.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trap_exit_protocol.erl b/test/trap_exit_protocol.erl
index 6100075..da71fb4 100644
--- a/test/trap_exit_protocol.erl
+++ b/test/trap_exit_protocol.erl
@@ -1,10 +1,10 @@
-module(trap_exit_protocol).
-behaviour(ranch_protocol).
--export([start_link/4]).
+-export([start_link/3]).
-export([init/3]).
-start_link(Ref, _Socket, Transport, Opts) ->
+start_link(Ref, Transport, Opts) ->
Pid = spawn_link(?MODULE, init, [Ref, Transport, Opts]),
{ok, Pid}.