summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-09-16 16:58:04 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-09-25 18:40:10 +0100
commita9764ac59781eec7ec4d0099d6c849059f7efc42 (patch)
treee08690c173e6cabf931d45565da0be1694ef0815 /src
parenta805c12a5067af2e00736d48000614afbc00d866 (diff)
Clarify error message for host-connect fail. Bug 1505
Diffstat (limited to 'src')
-rw-r--r--src/src/ip.c4
1 files 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;