diff options
author | Loïc Hoguin <[email protected]> | 2018-10-10 12:12:41 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-10 12:12:41 +0200 |
commit | 19195e64996e465fdf4788c076cbefe89a153fd3 (patch) | |
tree | 6030d8d22c90b2036a7388ba6512ff27cf707ed0 /test/proxy_protocol_ssl.erl | |
parent | 4b9970bcd725972dbd845e07c34a8ef8409ec04c (diff) | |
download | ranch-19195e64996e465fdf4788c076cbefe89a153fd3.tar.gz ranch-19195e64996e465fdf4788c076cbefe89a153fd3.tar.bz2 ranch-19195e64996e465fdf4788c076cbefe89a153fd3.zip |
Remove a Dialyzer warning in a test protocol
Diffstat (limited to 'test/proxy_protocol_ssl.erl')
-rw-r--r-- | test/proxy_protocol_ssl.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/proxy_protocol_ssl.erl b/test/proxy_protocol_ssl.erl index a25b297..d850800 100644 --- a/test/proxy_protocol_ssl.erl +++ b/test/proxy_protocol_ssl.erl @@ -20,7 +20,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) |