diff options
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r-- | source3/lib/time.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index 9d87414aea..5fc43612dd 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -44,6 +44,11 @@ int extra_time_offset = 0; External access to time_t_min and time_t_max. ********************************************************************/ +time_t get_time_t_min(void) +{ + return TIME_T_MIN; +} + time_t get_time_t_max(void) { return TIME_T_MAX; @@ -408,7 +413,7 @@ void unix_to_nt_time(NTTIME *nt, time_t t) } /* this converts GMT to kludge-GMT */ - t -= TimeDiff(t) - get_serverzone(); + t -= LocTimeDiff(t) - get_serverzone(); d = (double)(t); d += TIME_FIXUP_CONSTANT; |