You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2012/02/01 06:39:43 UTC

git commit: TS-1084: Format time_t as a long long

Updated Branches:
  refs/heads/master 1b385de70 -> 498003b5e


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/498003b5
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/498003b5
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/498003b5

Branch: refs/heads/master
Commit: 498003b5e510204dc037f63c5b5922654ab3c3df
Parents: 1b385de
Author: James Peach <jp...@apache.org>
Authored: Tue Jan 31 21:39:41 2012 -0800
Committer: James Peach <jp...@apache.org>
Committed: Tue Jan 31 21:39:41 2012 -0800

----------------------------------------------------------------------
 proxy/logging/Log.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/498003b5/proxy/logging/Log.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/Log.cc b/proxy/logging/Log.cc
index 14b688b..5d687f4 100644
--- a/proxy/logging/Log.cc
+++ b/proxy/logging/Log.cc
@@ -1174,7 +1174,7 @@ Log::flush_thread_main(void *args)
     now = time(NULL);
     if (now > last_time) {
       if ((now % PERIODIC_TASKS_INTERVAL) == 0) {
-        Debug("log-flush", "periodic tasks for %ld", now);
+        Debug("log-flush", "periodic tasks for %lld", (long long)now);
         periodic_tasks(now);
       }
       last_time = (now = time(NULL));