From dab5df74096483511bc8f192df3a1b22d9b9b4a1 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Fri, 5 Jan 2024 10:32:41 +0100 Subject: [PATCH] clarify where the name resolution error comes from --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index 83eea84..e693114 100644 --- a/common.c +++ b/common.c @@ -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; }