diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2008-04-07 20:59:02 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2008-04-07 20:59:02 +0000 |
| commit | b85ed9344b09b1db318ced3ac7026f6211974292 (patch) | |
| tree | cb9a619f0678a184ea56d5f8cb2624c0ed0bd9b8 /cpp/src/qpid/sys/posix/Time.cpp | |
| parent | 7b6b7cb9e94b906eedf416fb2d4e72124f757329 (diff) | |
| download | qpid-python-b85ed9344b09b1db318ced3ac7026f6211974292.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/sys/posix/Time.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/posix/Time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
