httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r608508 - /httpd/httpd/trunk/modules/loggers/mod_log_forensic.c
Date Thu, 03 Jan 2008 14:47:42 GMT
Author: rpluem
Date: Thu Jan  3 06:47:41 2008
New Revision: 608508

URL: http://svn.apache.org/viewvc?rev=608508&view=rev
Log:
* Silence a compiler warning by using the correct format.

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=608508&r1=608507&r2=608508&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_forensic.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_forensic.c Thu Jan  3 06:47:41 2008
@@ -195,8 +195,8 @@
     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, "%x:%lx:%x", getpid(), time(NULL),
-                          apr_atomic_inc32(&next_id));
+        id = apr_psprintf(r->pool, "%" APR_PID_T_FMT "x:%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