httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r579517 - /httpd/httpd/trunk/modules/loggers/mod_log_config.c
Date Wed, 26 Sep 2007 08:44:38 GMT
Author: rpluem
Date: Wed Sep 26 01:44:37 2007
New Revision: 579517

URL: http://svn.apache.org/viewvc?rev=579517&view=rev
Log:
* Do case insensitive compares for the type of formats of the pid / tid.

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_config.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_config.c?rev=579517&r1=579516&r2=579517&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_config.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_config.c Wed Sep 26 01:44:37 2007
@@ -658,10 +658,10 @@
 
 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



Mime
View raw message