You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/12/04 12:23:55 UTC

svn commit: r1042147 - /httpd/httpd/trunk/server/core.c

Author: sf
Date: Sat Dec  4 11:23:55 2010
New Revision: 1042147

URL: http://svn.apache.org/viewvc?rev=1042147&view=rev
Log:
Remove useless 'const' to fix compiler warning

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

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1042147&r1=1042146&r2=1042147&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Sat Dec  4 11:23:55 2010
@@ -2355,7 +2355,7 @@ static const char *set_server_string_slo
 }
 
 
-static const apr_status_t valid_hostname(const char* name)
+static apr_status_t valid_hostname(const char* name)
 {
     if (ap_strchr_c(name, '*') || ap_strchr_c(name, '?') || 
         ap_strchr_c(name, '[') || ap_strchr_c(name, ']')) {