From fc83c6138a766b1cd79769c7bc855813badf988e Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Wed, 26 Sep 2007 08:44:37 +0000 Subject: [PATCH] * Do case insensitive compares for the type of formats of the pid / tid. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@579517 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_log_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c index 7b8355522a..6b3e3259e4 100644 --- a/modules/loggers/mod_log_config.c +++ b/modules/loggers/mod_log_config.c @@ -658,10 +658,10 @@ static const char *log_server_name(request_rec *r, char *a) static const char *log_pid_tid(request_rec *r, char *a) { - if (*a == '\0' || !strcmp(a, "pid")) { + if (*a == '\0' || !strcasecmp(a, "pid")) { return ap_append_pid(r->pool, "", ""); } - else if (!strcmp(a, "tid") || !strcmp(a, "hextid")) { + else if (!strcasecmp(a, "tid") || !strcasecmp(a, "hextid")) { #if APR_HAS_THREADS apr_os_thread_t tid = apr_os_thread_current(); #else -- 2.40.0