Commit 9a185e74 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Correct transposed :tid: case, needs to be in the #ifdef MULTITHREAD
  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
parent 239ec190
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
}