clarify where the name resolution error comes from

This commit is contained in:
Yves Rutschle 2024-01-05 10:32:41 +01:00
parent 402ca5219b
commit dab5df7409

View File

@ -575,7 +575,7 @@ int resolve_split_name(struct addrinfo **out, char* host, char* serv)
res = getaddrinfo(host, serv, &hint, out);
if (res)
print_message(msg_system_error, "%s `%s:%s'\n", gai_strerror(res), host, serv);
print_message(msg_system_error, "resolve_split_name: %s `%s:%s'\n", gai_strerror(res), host, serv);
return res;
}