From a9764ac59781eec7ec4d0099d6c849059f7efc42 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 16 Sep 2014 16:58:04 +0100 Subject: [PATCH] Clarify error message for host-connect fail. Bug 1505 --- src/src/ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/src/ip.c b/src/src/ip.c index b492b9da1..ca5ca9b2b 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -346,8 +346,8 @@ for (h = &shost; h != NULL; h = h->next) } } -*errstr = string_sprintf("failed to connect to %s: " - "couldn't connect to any host: %s", hostname, strerror(errno)); +*errstr = string_sprintf("failed to connect to any address for %s: %s", + hostname, strerror(errno)); bad: close(fd4); close(fd6); return -1; -- 2.30.2