]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Correct transposed :tid: case, needs to be in the #ifdef MULTITHREAD
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 May 2005 14:48:32 +0000 (14:48 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 May 2005 14:48:32 +0000 (14:48 +0000)
  scenario, not visa versa.

Submitted by:  Brian Havard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@169641 13f79535-47bb-0310-9956-ffa450edef68

src/modules/standard/mod_log_forensic.c

index 7aa5d090c933bacc4764111aae537918f9f0aae8..956e57e30b9765e6c06f07c4302496e55539a6ad 100644 (file)
@@ -84,9 +84,9 @@ const char * get_forensic_id(pool *p)
     /* 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
 }