Skip to content

Commit

Permalink
net: remove warning from net_resolve_address()
Browse files Browse the repository at this point in the history
Similar to net_inet_pton() it should not print a warning if argument can not
be converted to IP address.
  • Loading branch information
cspiel1 committed Jun 22, 2021
1 parent ed605db commit e2a3271
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/net/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ int net_resolve_address(const char *addr, struct sa *sa)

err = getaddrinfo(addr, NULL, &hints, &res0);
if (err) {
DEBUG_WARNING("getaddrinfo(): (%s)\n", gai_strerror(err));
err = EADDRNOTAVAIL;
goto out;
}
Expand Down

0 comments on commit e2a3271

Please sign in to comment.