]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
dcfd.c:
authorDave Hart <hart@ntp.org>
Tue, 28 Apr 2009 08:23:30 +0000 (08:23 +0000)
committerDave Hart <hart@ntp.org>
Tue, 28 Apr 2009 08:23:30 +0000 (08:23 +0000)
  tvsec -> tv_sec typo

bk: 49f6bd02itMMu_qzEqNOWrNAyFvUdA

parseutil/dcfd.c

index 449d24fba57a763e18dfa4e41e0d4375217322b8..a65ad896db73f1c20fd563f6d1f41711e17112f4 100644 (file)
@@ -1042,7 +1042,7 @@ adjust_clock(
        toffset = *offset;
        toffset.tv_sec  = l_abs(toffset.tv_sec);
        toffset.tv_usec = l_abs(toffset.tv_usec);
-       if (toffset.tvsec ||
+       if (toffset.tv_sec ||
            (!toffset.tv_sec && toffset.tv_usec > max_adj_offset_usec))
        {
                /*