httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r611376 - /httpd/httpd/trunk/modules/loggers/mod_log_forensic.c
Date Sat, 12 Jan 2008 07:01:52 GMT
Author: rpluem
Date: Fri Jan 11 23:01:52 2008
New Revision: 611376

URL: http://svn.apache.org/viewvc?rev=611376&view=rev
Log:
* Hex pids are bogus anyway and on environments with APR_PID_T_FMT d this
  breaks and print x.

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_forensic.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_forensic.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_forensic.c?rev=611376&r1=611375&r2=611376&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_forensic.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_forensic.c Fri Jan 11 23:01:52 2008
@@ -195,7 +195,7 @@
     if (!(id = apr_table_get(r->subprocess_env, "UNIQUE_ID"))) {
         /* we make the assumption that we can't go through all the PIDs in
            under 1 second */
-        id = apr_psprintf(r->pool, "%" APR_PID_T_FMT "x:%lx:%x", getpid(), 
+        id = apr_psprintf(r->pool, "%" APR_PID_T_FMT ":%lx:%x", getpid(), 
                           time(NULL), apr_atomic_inc32(&next_id));
     }
     ap_set_module_config(r->request_config, &log_forensic_module, (char *)id);



Mime
View raw message