]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
better error message
authorGiovanni Bechis <gbechis@apache.org>
Tue, 28 Jun 2022 16:49:43 +0000 (16:49 +0000)
committerGiovanni Bechis <gbechis@apache.org>
Tue, 28 Jun 2022 16:49:43 +0000 (16:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902324 13f79535-47bb-0310-9956-ffa450edef68

server/listen.c

index cf2bb3b3763fbb7d474e9285bf2e80e1dc26887d..3aed907e21bcfe06f174e003f8601038d2901244 100644 (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;