httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r697936 - in /httpd/flood/trunk: CHANGES flood_report_relative_times.c
Date Mon, 22 Sep 2008 18:34:53 GMT
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);



Mime
View raw message