aboutsummaryrefslogtreecommitdiffstats
path: root/test/notify_and_wait_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/notify_and_wait_protocol.erl')
-rw-r--r--test/notify_and_wait_protocol.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/notify_and_wait_protocol.erl b/test/notify_and_wait_protocol.erl
index f0136a1..e3e857b 100644
--- a/test/notify_and_wait_protocol.erl
+++ b/test/notify_and_wait_protocol.erl
@@ -1,10 +1,10 @@
-module(notify_and_wait_protocol).
-behaviour(ranch_protocol).
--export([start_link/4]).
+-export([start_link/3]).
-export([init/2]).
-start_link(_, _, _, [{msg, Msg}, {pid, TestPid}]) ->
+start_link(_, _, [{msg, Msg}, {pid, TestPid}]) ->
Pid = spawn_link(?MODULE, init, [Msg, TestPid]),
{ok, Pid}.