Revert r1.5 now that the time calculations are using a monotonic clock.

This commit is contained in:
roy 2015-10-15 10:24:33 +00:00
parent 750bc52c86
commit 5a3bbc9d90
1 changed files with 1 additions and 1 deletions

View File

@ -2697,7 +2697,7 @@ mDNSexport void mDNS_Lock_(mDNS *const m, const char * const functionname)
if (m->timenow_last - m->timenow > 0)
{
m->timenow_adjust += m->timenow_last - m->timenow;
debugf("%s: mDNSPlatformRawTime went backwards by %ld ticks; setting correction factor to %ld", functionname, m->timenow_last - m->timenow, m->timenow_adjust);
LogMsg("%s: mDNSPlatformRawTime went backwards by %ld ticks; setting correction factor to %ld", functionname, m->timenow_last - m->timenow, m->timenow_adjust);
m->timenow = m->timenow_last;
}
m->timenow_last = m->timenow;