From: Harlan Stenn Date: Wed, 7 Jul 2004 04:52:39 +0000 (-0400) Subject: Fix from Dave Mills X-Git-Tag: NTP_4_2_3~162^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a15e02b4c5e4b0de5fc2a008de4e8cddcb64c6b0;p=thirdparty%2Fntp.git Fix from Dave Mills bk: 40eb8197rgsA_I07fModhN15BX1htQ --- diff --git a/libntp/systime.c b/libntp/systime.c index 815a4e0125..c706b84c4b 100644 --- a/libntp/systime.c +++ b/libntp/systime.c @@ -413,13 +413,8 @@ adj_systime( adjtv.tv_usec = -adjtv.tv_usec; sys_residual = -sys_residual; } - - /* - * We went to all the trouble just to be sure the emulation is - * precise. We now return to our regularly scheduled concert. - */ - ntp_node.clk_time -= adjtv.tv_sec + adjtv.tv_usec / 1e6; - return (1); + ntp_node.adj = now; + return (1); }