From: Jeremy Harris Date: Tue, 16 Sep 2014 15:58:04 +0000 (+0100) Subject: Clarify error message for host-connect fail. Bug 1505 X-Git-Tag: exim-4_85_RC1~47 X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/a9764ac59781eec7ec4d0099d6c849059f7efc42?ds=sidebyside Clarify error message for host-connect fail. Bug 1505 --- 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;