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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/flood/trunk@697936 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES b/CHANGES
index b5dea4d..b025745 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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]
 
diff --git a/flood_report_relative_times.c b/flood_report_relative_times.c
index 5418bc7..d2c51cf 100644
--- a/flood_report_relative_times.c
+++ b/flood_report_relative_times.c
@@ -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);