]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix from Dave Mills
authorHarlan Stenn <stenn@ntp.org>
Wed, 7 Jul 2004 04:52:39 +0000 (00:52 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 7 Jul 2004 04:52:39 +0000 (00:52 -0400)
bk: 40eb8197rgsA_I07fModhN15BX1htQ

libntp/systime.c

index 815a4e0125a64d9f5c2d4f092c35d7bcbf425c9d..c706b84c4b4f8779b1f45808efcb3193668b993e 100644 (file)
@@ -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);
 }