Clarify error message for host-connect fail. Bug 1505
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 16 Sep 2014 15:58:04 +0000 (16:58 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Thu, 25 Sep 2014 17:40:10 +0000 (18:40 +0100)
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;
 
 bad:
   close(fd4); close(fd6); return -1;