Add missing assertion
This commit is contained in:
@@ -83,7 +83,7 @@ disconnect(Socket, Host, Port) ->
|
|||||||
after 0 -> ok
|
after 0 -> ok
|
||||||
end;
|
end;
|
||||||
{error, E} ->
|
{error, E} ->
|
||||||
log(warning, "~ts:~w disconnect failed with: ~w", [Host, Port, E]),
|
ok = log(warning, "~ts:~w disconnect failed with: ~w", [Host, Port, E]),
|
||||||
receive
|
receive
|
||||||
{tcp_closed, Socket} -> ok
|
{tcp_closed, Socket} -> ok
|
||||||
after 0 -> ok
|
after 0 -> ok
|
||||||
|
|||||||
Reference in New Issue
Block a user