aboutsummaryrefslogtreecommitdiffstats
path: root/test/active_echo_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/active_echo_protocol.erl')
-rw-r--r--test/active_echo_protocol.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/active_echo_protocol.erl b/test/active_echo_protocol.erl
index 37dd6db..3c3ab0d 100644
--- a/test/active_echo_protocol.erl
+++ b/test/active_echo_protocol.erl
@@ -1,10 +1,10 @@
-module(active_echo_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}.