summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-08-05 14:36:37 +0200
committerGitHub <noreply@github.com>2022-08-05 14:36:37 +0200
commitf5a89bf460a8250ca6b0a1a5fdba4bcb70df91cf (patch)
tree9c33fc44fdfe2a2527a681b9952c784714718797 /drivers
parent73766cccf7ec0ffe485f4e64caeaf548dc053d19 (diff)
parent59eea34851ef3b71bd9df4258f589d2c9681f5a7 (diff)
Merge pull request #63944 from Faless/net/4.x_ip_no_err
[Net] IP uses print_verbose when getaddrinfo fails.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/ip_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp
index 2deeb79957..0dc2efedc1 100644
--- a/drivers/unix/ip_unix.cpp
+++ b/drivers/unix/ip_unix.cpp
@@ -95,12 +95,12 @@ void IPUnix::_resolve_hostname(List<IPAddress> &r_addresses, const String &p_hos
int s = getaddrinfo(p_hostname.utf8().get_data(), nullptr, &hints, &result);
if (s != 0) {
- ERR_PRINT("getaddrinfo failed! Cannot resolve hostname.");
+ print_verbose("getaddrinfo failed! Cannot resolve hostname.");
return;
}
if (result == nullptr || result->ai_addr == nullptr) {
- ERR_PRINT("Invalid response from getaddrinfo");
+ print_verbose("Invalid response from getaddrinfo");
if (result) {
freeaddrinfo(result);
}