Loading ares/windows_port.c +3 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,9 @@ ares_gettimeofday(struct timeval *tv, struct timezone *tz) li.LowPart = ft.dwLowDateTime; li.HighPart = ft.dwHighDateTime; t = li.QuadPart; /* In 100-nanosecond intervals */ //t -= EPOCHFILETIME; /* Offset to the Epoch time */ #if 0 t -= EPOCHFILETIME; /* Offset to the Epoch time */ #endif t /= 10; /* In microseconds */ tv->tv_sec = (long)(t / 1000000); tv->tv_usec = (long)(t % 1000000); Loading Loading
ares/windows_port.c +3 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,9 @@ ares_gettimeofday(struct timeval *tv, struct timezone *tz) li.LowPart = ft.dwLowDateTime; li.HighPart = ft.dwHighDateTime; t = li.QuadPart; /* In 100-nanosecond intervals */ //t -= EPOCHFILETIME; /* Offset to the Epoch time */ #if 0 t -= EPOCHFILETIME; /* Offset to the Epoch time */ #endif t /= 10; /* In microseconds */ tv->tv_sec = (long)(t / 1000000); tv->tv_usec = (long)(t % 1000000); Loading