summaryrefslogtreecommitdiffstats
path: root/server/log.c
diff options
context:
space:
mode:
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 c545bfc2f9..11b8237273 100644
--- a/server/log.c
+++ b/server/log.c
@@ -596,7 +596,7 @@ static int log_log_id(const ap_errorlog_info *info, const char *arg,
* c: log conn log id if available and not a once-per-request log line
* else: log request log id if available
*/
- if (arg && !ap_casecmpstr(arg, "c")) {
+ if (arg && (*arg == 'c' || *arg == 'C')) {
if (info->c && (*arg != 'C' || !info->r)) {
return cpystrn(buf, info->c->log_id, buflen);
}
@@ -1864,7 +1864,7 @@ AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val)
return err;
while (priorities[i].t_name != NULL) {
- if (!ap_casecmpstr(str, priorities[i].t_name)) {
+ if (!strcasecmp(str, priorities[i].t_name)) {
*val = priorities[i].t_val;
return NULL;
}