From 6cea387b1ff493ae721a5ca6e760610241176204 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 4 Dec 2010 11:23:55 +0000 Subject: [PATCH] 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 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ']')) { -- 2.40.0