Skip to content

Commit 062b285

Browse files
committed
fix error
1 parent bed3ae3 commit 062b285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackney_happy.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ getbyname(Hostname, Type) ->
5151
{error, nxdomain} = Error ->
5252
case inet:parse_address(Hostname) of
5353
{ok, IP} -> [IP];
54-
_ -> Error
54+
_ -> []
5555
end;
5656
{error, _Reason} -> [];
5757
Else ->

0 commit comments

Comments
 (0)