diff options
author | bala <balanatarajan@users.noreply.github.com> | 1999-09-02 16:30:00 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 1999-09-02 16:30:00 +0000 |
commit | 1ff0bbeed9feb9a51b130c57642d3ed5d17dcdcc (patch) | |
tree | a6e8d346105bed4a6a062962cbc474562b758039 | |
parent | ee1ade3e7360aa1c209844d3a158efc57cee723c (diff) | |
download | ATCD-1ff0bbeed9feb9a51b130c57642d3ed5d17dcdcc.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/orbsvcs/orbsvcs/AV/ntp-time.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h index 2e2399d342e..de1b4782c37 100644 --- a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h +++ b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h @@ -90,8 +90,7 @@ ntptime() ACE_INLINE timeval unixtime() { - struct timeval tv; - ::gettimeofday(&tv, 0); - return (tv); + ACE_Time_Value tv = ACE_OS::gettimeofday(); + return ((timeval) tv); } #endif /* TAO_AV_NTP_TIME_H */ |