git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a805c12
)
Clarify error message for host-connect fail. Bug 1505
author
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 16 Sep 2014 15:58:04 +0000
(16:58 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 25 Sep 2014 17:40:10 +0000
(18:40 +0100)
src/src/ip.c
patch
|
blob
|
history
diff --git
a/src/src/ip.c
b/src/src/ip.c
index b492b9da1566d0c03dcc8aec11e4356aa458749e..ca5ca9b2b25d725f83402191f73b7042b498e978 100644
(file)
--- 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;
bad:
close(fd4); close(fd6); return -1;