mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
A few different implementations of computing the current time were spread out through the code base, most of them using gettimeofday(). This centralizes the logic in CUtil::GetTime() for easier maintenance, and also allows all call sites to get the benefit of the clock_gettime() code path on systems that support it.
3.7 KiB
3.7 KiB