]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Do case insensitive compares for the type of formats of the pid / tid.
authorRuediger Pluem <rpluem@apache.org>
Wed, 26 Sep 2007 08:44:37 +0000 (08:44 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 26 Sep 2007 08:44:37 +0000 (08:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@579517 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_config.c

index 7b8355522a81fefc93c0a536eac79bee31cabef9..6b3e3259e44def1e09e7383c9cb581208f87b770 100644 (file)
@@ -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