summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;