]> granicus.if.org Git - apache/commitdiff
* Hex pids are bogus anyway and on environments with APR_PID_T_FMT d this
authorRuediger Pluem <rpluem@apache.org>
Sat, 12 Jan 2008 07:01:52 +0000 (07:01 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 12 Jan 2008 07:01:52 +0000 (07:01 +0000)
  breaks and print x.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@611376 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_forensic.c

index 624d2c2f0f84b3a38f2763175d48d65b458ec040..f44f0b465ebdd203d5957f3af1603edf499c5b66 100644 (file)
@@ -195,7 +195,7 @@ static int log_before(request_rec *r)
     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);