ntpclient serious math error

Jun 6, 2012 at 2:14 PM

line 469:

return ((ulong)ts.ticks) * TimeSpan.TicksPerMillisecond;   //WRONG

should be:

return ((ulong)ts.ticks) / TimeSpan.TicksPerMillisecond;

Coordinator
Jun 13, 2012 at 7:44 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jun 13, 2012 at 7:53 PM

Thanks, rcomeau!