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.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/active_echo_protocol.erl b/test/active_echo_protocol.erl
index 3c3ab0d..6ae47a6 100644
--- a/test/active_echo_protocol.erl
+++ b/test/active_echo_protocol.erl
@@ -13,7 +13,7 @@ init(Ref, Transport, _Opts = []) ->
loop(Socket, Transport).
loop(Socket, Transport) ->
- {OK, Closed, Error} = Transport:messages(),
+ {OK, Closed, Error, _Passive} = Transport:messages(),
Transport:setopts(Socket, [{active, once}]),
receive
{OK, Socket, Data} ->