diff options
Diffstat (limited to 'source3/lib/time.c')
| -rw-r--r-- | source3/lib/time.c | 3 | 
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);  }  /**********************************************************************  | 
