From: Joe Orton Date: Fri, 5 Aug 2005 13:49:07 +0000 (+0000) Subject: * server/vhost.c (get_addresses): Fix double negative and make errors X-Git-Tag: 2.1.7~5^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675c62c505ab6189eaa3c7c47f2b21d7b3583225;p=thirdparty%2Fapache%2Fhttpd.git * server/vhost.c (get_addresses): Fix double negative and make errors consistent; thanks Joshua. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230469 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/vhost.c b/server/vhost.c index 4e9162dbf07..cc3d2159dbd 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -183,7 +183,7 @@ static const char *get_addresses(apr_pool_t *p, const char *w_, if (strcmp(host, "*") == 0) { rv = apr_sockaddr_info_get(&my_addr, "0.0.0.0", APR_INET, port, 0, p); if (rv) { - return "Cannot not resolve address '0.0.0.0' -- " + return "Could not resolve address '0.0.0.0' -- " "check resolver configuration."; } } @@ -191,7 +191,7 @@ static const char *get_addresses(apr_pool_t *p, const char *w_, || strcmp(host, "255.255.255.255") == 0) { rv = apr_sockaddr_info_get(&my_addr, "255.255.255.255", APR_INET, port, 0, p); if (rv) { - return "Cannot resolve address '255.255.255.255' -- " + return "Could not resolve address '255.255.255.255' -- " "check resolver configuration."; } } @@ -199,7 +199,7 @@ static const char *get_addresses(apr_pool_t *p, const char *w_, rv = apr_sockaddr_info_get(&my_addr, host, APR_UNSPEC, port, 0, p); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, - "Cannot resolve host name %s --- ignoring!", host); + "Could not resolve host name %s -- ignoring!", host); return NULL; } }