Round and round we go....
[ira/wip.git] / source3 / lib / time.c
index 975c58c7a596ac54b6069621ea2f2b26e44d0de9..c39753403d707dc9d1a7614bce35a24931323941 100644 (file)
@@ -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);
 }
 
 /**********************************************************************