aboutsummaryrefslogtreecommitdiffstats
path: root/test/proxy_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-10-10 12:12:41 +0200
committerLoïc Hoguin <[email protected]>2018-10-10 12:12:41 +0200
commit19195e64996e465fdf4788c076cbefe89a153fd3 (patch)
tree6030d8d22c90b2036a7388ba6512ff27cf707ed0 /test/proxy_protocol.erl
parent4b9970bcd725972dbd845e07c34a8ef8409ec04c (diff)
downloadranch-19195e64996e465fdf4788c076cbefe89a153fd3.tar.gz
ranch-19195e64996e465fdf4788c076cbefe89a153fd3.tar.bz2
ranch-19195e64996e465fdf4788c076cbefe89a153fd3.zip
Remove a Dialyzer warning in a test protocol
Diffstat (limited to 'test/proxy_protocol.erl')
-rw-r--r--test/proxy_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/proxy_protocol.erl b/test/proxy_protocol.erl
index 3b18349..6a161c7 100644
--- a/test/proxy_protocol.erl
+++ b/test/proxy_protocol.erl
@@ -18,7 +18,7 @@ init(Ref, Transport, _Opts = []) ->
loop(Socket, Transport) ->
case Transport:recv(Socket, 0, 5000) of
{ok, Data} ->
- Transport:send(Socket, Data),
+ _ = Transport:send(Socket, Data),
loop(Socket, Transport);
_ ->
ok = Transport:close(Socket)