You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2005/05/11 16:48:33 UTC
svn commit: r169641 -
/httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c
Author: wrowe
Date: Wed May 11 07:48:32 2005
New Revision: 169641
URL: http://svn.apache.org/viewcvs?rev=169641&view=rev
Log:
Correct transposed :tid: case, needs to be in the #ifdef MULTITHREAD
scenario, not visa versa.
Submitted by: Brian Havard
Modified:
httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c
Modified: httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c?rev=169641&r1=169640&r2=169641&view=diff
==============================================================================
--- httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c (original)
+++ httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c Wed May 11 07:48:32 2005
@@ -84,9 +84,9 @@
/* we make the assumption that we can't go through all the PIDs in
under 1 second */
#ifdef MULTITHREAD
- return ap_psprintf(p, "%x:%lx:%x", getpid(), time(NULL), next_id++);
-#else
return ap_psprintf(p, "%x:%x:%lx:%x", getpid(), gettid(), time(NULL), next_id++);
+#else
+ return ap_psprintf(p, "%x:%lx:%x", getpid(), time(NULL), next_id++);
#endif
}