summaryrefslogtreecommitdiffstats
path: root/server/log.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2020-11-15 17:50:03 +0100
committerChristophe Jaillet <jailletc36@apache.org>2020-11-15 17:50:03 +0100
commit7fb5cc1c7338ef8f4d4b3b96126dfe67bd4e67b1 (patch)
tree4cbabaa3083274187bfd2566eada08ca5d264d10 /server/log.c
parentSave a few cycles. (diff)
downloadapache2-7fb5cc1c7338ef8f4d4b3b96126dfe67bd4e67b1.tar.xz
apache2-7fb5cc1c7338ef8f4d4b3b96126dfe67bd4e67b1.zip
Fix an harmless warning spoted by gcc 10 and -Werror=discarded-qualifiers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1883452 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/log.c b/server/log.c
index 1a32ebb2d9..baa0b69043 100644
--- a/server/log.c
+++ b/server/log.c
@@ -1875,8 +1875,8 @@ AP_DECLARE(void) ap_close_piped_log(piped_log *pl)
AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val)
{
- char *err = "Log level keyword must be one of emerg/alert/crit/error/warn/"
- "notice/info/debug/trace1/.../trace8";
+ const char *err = "Log level keyword must be one of emerg/alert/crit/error/"
+ "warn/notice/info/debug/trace1/.../trace8";
int i = 0;
if (str == NULL)