aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-05-13 10:30:26 +0200
committerLoïc Hoguin <[email protected]>2019-05-13 10:31:53 +0200
commit6d8b249e54c849948f6d4cdb021cb44340ec289f (patch)
treec48cad0dd115d08b0acd23ce4227e3969100d073 /test
parent76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd (diff)
downloadranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.gz
ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.bz2
ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.zip
Add the passive messages to ranch_transport:messages/0
Diffstat (limited to 'test')
-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} ->