From b85ed9344b09b1db318ced3ac7026f6211974292 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 7 Apr 2008 20:59:02 +0000 Subject: Fixed time classes for some changes that misunderstood how they are supposed to be used (and documented them better to hopefully avoid this in the future) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645685 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/posix/Time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys/posix/Time.cpp') diff --git a/cpp/src/qpid/sys/posix/Time.cpp b/cpp/src/qpid/sys/posix/Time.cpp index b2b7a81130..09627cdc6b 100644 --- a/cpp/src/qpid/sys/posix/Time.cpp +++ b/cpp/src/qpid/sys/posix/Time.cpp @@ -62,7 +62,7 @@ std::ostream& operator<<(std::ostream& o, const AbsTime& t) { "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec" }; struct tm * timeinfo; - time_t rawtime(t.timeValue()/TIME_SEC); + time_t rawtime(t.time_ns/TIME_SEC); timeinfo = localtime (&rawtime); char time_string[100]; sprintf ( time_string, -- cgit v1.2.1