From 3ea575d8682560fc02d5583cbf2837e2f2f43e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 9 May 2019 10:43:25 +0200 Subject: Remove Socket argument from ranch_protocol:start_link --- test/notify_and_wait_protocol.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/notify_and_wait_protocol.erl') 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}. -- cgit v1.2.3