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/11/25 04:51:11 UTC

git commit: FreeBSD/clang build fix

Updated Branches:
  refs/heads/master 5e55f601e -> 6e8e65f40


FreeBSD/clang build fix


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

Branch: refs/heads/master
Commit: 6e8e65f401d3a09684ae313a6dd3f4934d7ac588
Parents: 5e55f60
Author: James Peach <jp...@apache.org>
Authored: Sat Nov 24 19:50:52 2012 -0800
Committer: James Peach <jp...@apache.org>
Committed: Sat Nov 24 19:51:00 2012 -0800

----------------------------------------------------------------------
 lib/ts/ink_time.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6e8e65f4/lib/ts/ink_time.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_time.cc b/lib/ts/ink_time.cc
index 96ecf67..6b11db4 100644
--- a/lib/ts/ink_time.cc
+++ b/lib/ts/ink_time.cc
@@ -683,7 +683,7 @@ cftime_replacement(char *s, int maxsize, const char *format, const time_t * cloc
 {
   struct tm tm;
 
-  ink_assert(localtime_r(clock, &tm) != (int) NULL);    /* ADK_122100 */
+  ink_assert(ink_localtime_r(clock, &tm) != NULL);
 
   return strftime(s, maxsize, format, &tm);
 }