From: Giovanni Bechis Date: Tue, 28 Jun 2022 16:49:43 +0000 (+0000) Subject: better error message X-Git-Tag: 2.5.0-alpha2-ci-test-only~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=317108ee6e84ae47bd0f6121e3a64074c5d68c7b;p=thirdparty%2Fapache%2Fhttpd.git better error message git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902324 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/listen.c b/server/listen.c index cf2bb3b3763..3aed907e21b 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;