summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c
index 5824ae37c9..35d472a74f 100644
--- a/server/core.c
+++ b/server/core.c
@@ -2626,7 +2626,7 @@ static const char *set_loglevel(cmd_parms *cmd, void *dummy, const char *arg)
}
if ((str = ap_getword_conf(cmd->pool, &arg))) {
- err = ap_parse_log_level(arg, &cmd->server->loglevel);
+ err = ap_parse_log_level(str, &cmd->server->loglevel);
if (err != NULL)
return err;
}