httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r230469 - /httpd/httpd/trunk/server/vhost.c
Date Fri, 05 Aug 2005 13:49:10 GMT
Author: jorton
Date: Fri Aug  5 06:49:07 2005
New Revision: 230469

URL: http://svn.apache.org/viewcvs?rev=230469&view=rev
Log:
* server/vhost.c (get_addresses): Fix double negative and make errors
consistent; thanks Joshua.

Modified:
    httpd/httpd/trunk/server/vhost.c

Modified: httpd/httpd/trunk/server/vhost.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/vhost.c?rev=230469&r1=230468&r2=230469&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Fri Aug  5 06:49:07 2005
@@ -183,7 +183,7 @@
     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 @@
         || 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 @@
         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;
         }
     }



Mime
View raw message