summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGiovanni Bechis <gbechis@apache.org>2022-06-28 18:49:43 +0200
committerGiovanni Bechis <gbechis@apache.org>2022-06-28 18:49:43 +0200
commit317108ee6e84ae47bd0f6121e3a64074c5d68c7b (patch)
tree2eb1076b00db076ddc6b09d20d9270d5f68757ea /server
parentcheck apr_sockaddr_info_get return value (diff)
downloadapache2-317108ee6e84ae47bd0f6121e3a64074c5d68c7b.tar.xz
apache2-317108ee6e84ae47bd0f6121e3a64074c5d68c7b.zip
better error message
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/listen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/listen.c b/server/listen.c
index cf2bb3b376..3aed907e21 100644
--- a/server/listen.c
+++ b/server/listen.c
@@ -884,7 +884,8 @@ AP_DECLARE(apr_status_t) ap_duplicate_listeners(apr_pool_t *p, server_rec *s,
stat = apr_sockaddr_info_get(&sa, hostname, APR_UNSPEC, port, 0, p);
if (stat != APR_SUCCESS) {
ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p, APLOGNO(10397)
- "unable to control socket status");
+ "failure looking up %s to duplicate "
+ "listening socket", hostname);
return stat;
}
duplr->bind_addr = sa;