summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-11 23:33:12 +0000
committerJeremy Allison <jra@samba.org>2002-01-11 23:33:12 +0000
commit1d40138232a22b78f088847d0d72d6ddec17a65e (patch)
tree2512a77f1e2a7e7c3f937552d08bf81e3d002861 /source3/lib
parentb741f6b04c2b0da7963cf0778f20a8ad1e8dbf9e (diff)
downloadsamba-1d40138232a22b78f088847d0d72d6ddec17a65e.tar.gz
samba-1d40138232a22b78f088847d0d72d6ddec17a65e.tar.bz2
samba-1d40138232a22b78f088847d0d72d6ddec17a65e.zip
Round and round we go....
Jeremy. (This used to be commit 2603ab3c6870f3697751b887e940910713f08985)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 975c58c7a5..c39753403d 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -136,7 +136,8 @@ void TimeInit(void)
done_serverzone_init = False;
get_serverzone();
/* Save the start time of this process. */
- GetTimeOfDay(&start_time_hires);
+ if (start_time_hires.tv_sec == 0 && start_time_hires.tv_usec == 0)
+ GetTimeOfDay(&start_time_hires);
}
/**********************************************************************