Clarify error message for host-connect fail. Bug 1505
[exim.git] / src / src / ip.c
index b492b9da1566d0c03dcc8aec11e4356aa458749e..ca5ca9b2b25d725f83402191f73b7042b498e978 100644 (file)
@@ -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;