You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2008/09/22 20:34:53 UTC

svn commit: r697936 - in /httpd/flood/trunk: CHANGES flood_report_relative_times.c

Author: jerenkrantz
Date: Mon Sep 22 11:34:53 2008
New Revision: 697936

URL: http://svn.apache.org/viewvc?rev=697936&view=rev
Log:
Update relative times report to use appropriate APR format string.

* flood_report_relative_times.c
  (relative_times_process_stats): Use %pT extension to emit proper format.
* CHANGES: Update.

Modified:
    httpd/flood/trunk/CHANGES
    httpd/flood/trunk/flood_report_relative_times.c

Modified: httpd/flood/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/flood/trunk/CHANGES?rev=697936&r1=697935&r2=697936&view=diff
==============================================================================
--- httpd/flood/trunk/CHANGES (original)
+++ httpd/flood/trunk/CHANGES Mon Sep 22 11:34:53 2008
@@ -1,5 +1,8 @@
 Changes since 1.0:
 
+* Update relative times report to use appropriate APR format string.
+  [Justin Erenkrantz]
+
 * Protect relative times report output with a mutex to avoid overlap.
   [Justin Erenkrantz]
 

Modified: httpd/flood/trunk/flood_report_relative_times.c
URL: http://svn.apache.org/viewvc/httpd/flood/trunk/flood_report_relative_times.c?rev=697936&r1=697935&r2=697936&view=diff
==============================================================================
--- httpd/flood/trunk/flood_report_relative_times.c (original)
+++ httpd/flood/trunk/flood_report_relative_times.c Mon Sep 22 11:34:53 2008
@@ -73,7 +73,7 @@
 
 #if APR_HAS_THREADS
     apr_thread_mutex_lock(rr->config->mutex);
-    apr_file_printf(local_stdout, "%s %ld %s\n", buf, apr_os_thread_current(), req->uri);
+    apr_file_printf(local_stdout, "%s %pT %s\n", buf, apr_os_thread_current(), req->uri);
     apr_thread_mutex_unlock(rr->config->mutex);
 #else
     apr_file_printf(local_stdout, "%s %d %s\n", buf, getpid(), req->uri);