better error message

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Giovanni Bechis
2022-06-28 16:49:43 +00:00
parent 8646e07534
commit 317108ee6e

View File

@ -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;