You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2007/09/26 10:44:38 UTC
svn commit: r579517 - /httpd/httpd/trunk/modules/loggers/mod_log_config.c
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