From: Stefan Fritsch Date: Sat, 4 Dec 2010 11:23:55 +0000 (+0000) Subject: Remove useless 'const' to fix compiler warning X-Git-Tag: 2.3.10~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cea387b1ff493ae721a5ca6e760610241176204;p=apache Remove useless 'const' to fix compiler warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1042147 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 7db086f26f..f67f084399 100644 --- a/server/core.c +++ b/server/core.c @@ -2355,7 +2355,7 @@ static const char *set_server_string_slot(cmd_parms *cmd, void *dummy, } -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, ']')) {