httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r169641 - /httpd/httpd/branches/1.3.x/src/modules/standard/mod_log_forensic.c
Date Wed, 11 May 2005 14:48:33 GMT
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
 }
 



Mime
View raw message