trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [1/2] git commit: TS-1084: Format time_t as a long long
Date Wed, 01 Feb 2012 05:31:11 GMT
Updated Branches:
  refs/heads/master ca39c705b -> 1b385de70


TS-1084: Format time_t as a long long


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1b385de7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1b385de7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1b385de7

Branch: refs/heads/master
Commit: 1b385de70006f28d080b131c4965ddebb55a0f12
Parents: 9308b7e
Author: James Peach <jpeach@apache.org>
Authored: Tue Jan 31 21:31:05 2012 -0800
Committer: James Peach <jpeach@apache.org>
Committed: Tue Jan 31 21:31:05 2012 -0800

----------------------------------------------------------------------
 proxy/http/HttpTransactHeaders.cc |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1b385de7/proxy/http/HttpTransactHeaders.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransactHeaders.cc b/proxy/http/HttpTransactHeaders.cc
index 5d8d711..cabae22 100644
--- a/proxy/http/HttpTransactHeaders.cc
+++ b/proxy/http/HttpTransactHeaders.cc
@@ -436,17 +436,17 @@ HttpTransactHeaders::calculate_document_age(ink_time_t request_time,
   }
 
   if (diags->on()) {
-    DebugOn("http_age", "[calculate_document_age] age_value:              %ld", age_value);
-    DebugOn("http_age", "[calculate_document_age] date_value:             %ld", date_value);
-    DebugOn("http_age", "[calculate_document_age] response_time:          %ld", response_time);
-    DebugOn("http_age", "[calculate_document_age] now:                    %ld", now);
-    DebugOn("http_age", "[calculate_document_age] now (fixed):            %ld", now_value);
-    DebugOn("http_age", "[calculate_document_age] apparent_age:           %ld", apparent_age);
-    DebugOn("http_age", "[calculate_document_age] corrected_received_age: %ld", corrected_received_age);
-    DebugOn("http_age", "[calculate_document_age] response_delay:         %ld", response_delay);
-    DebugOn("http_age", "[calculate_document_age] corrected_initial_age:  %ld", corrected_initial_age);
-    DebugOn("http_age", "[calculate_document_age] resident_time:          %ld", resident_time);
-    DebugOn("http_age", "[calculate_document_age] current_age:            %ld", current_age);
+    DebugOn("http_age", "[calculate_document_age] age_value:              %lld", (long long)age_value);
+    DebugOn("http_age", "[calculate_document_age] date_value:             %lld", (long long)date_value);
+    DebugOn("http_age", "[calculate_document_age] response_time:          %lld", (long long)response_time);
+    DebugOn("http_age", "[calculate_document_age] now:                    %lld", (long long)now);
+    DebugOn("http_age", "[calculate_document_age] now (fixed):            %lld", (long long)now_value);
+    DebugOn("http_age", "[calculate_document_age] apparent_age:           %lld", (long long)apparent_age);
+    DebugOn("http_age", "[calculate_document_age] corrected_received_age: %lld", (long long)corrected_received_age);
+    DebugOn("http_age", "[calculate_document_age] response_delay:         %lld", (long long)response_delay);
+    DebugOn("http_age", "[calculate_document_age] corrected_initial_age:  %lld", (long long)corrected_initial_age);
+    DebugOn("http_age", "[calculate_document_age] resident_time:          %lld", (long long)resident_time);
+    DebugOn("http_age", "[calculate_document_age] current_age:            %lld", (long long)current_age);
   }
 
   return current_age;


Mime
View raw message