Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Aug 23, 2024
1 parent bed3ae3 commit 062b285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hackney_happy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ getbyname(Hostname, Type) ->
{error, nxdomain} = Error ->
case inet:parse_address(Hostname) of
{ok, IP} -> [IP];
_ -> Error
_ -> []
end;
{error, _Reason} -> [];
Else ->
Expand Down

0 comments on commit 062b285

Please sign in to comment.