Add missing assertion
This commit is contained in:
@@ -83,7 +83,7 @@ disconnect(Socket, Host, Port) ->
|
||||
after 0 -> ok
|
||||
end;
|
||||
{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
|
||||
{tcp_closed, Socket} -> ok
|
||||
after 0 -> ok
|
||||
|
||||
Reference in New Issue
Block a user