From: William A. Rowe Jr Date: Wed, 11 May 2005 14:48:32 +0000 (+0000) Subject: Correct transposed :tid: case, needs to be in the #ifdef MULTITHREAD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156fe46524b3abfb4306b223df39f2f83ab9c63e;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/src/modules/standard/mod_log_forensic.c b/src/modules/standard/mod_log_forensic.c index 7aa5d090c93..956e57e30b9 100644 --- a/src/modules/standard/mod_log_forensic.c +++ b/src/modules/standard/mod_log_forensic.c @@ -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 }