From: Harlan Stenn Date: Sat, 8 Jan 2005 06:13:32 +0000 (-0500) Subject: fencepost error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de188d431c3cb77220b30173aef6ae7e2555324d;p=thirdparty%2Fntp.git fencepost error bk: 41df7a0cPCdDqWJok9WkTAlT36XMaA --- diff --git a/libntp/systime.c b/libntp/systime.c index c706b84c4b..715f01ca06 100644 --- a/libntp/systime.c +++ b/libntp/systime.c @@ -89,7 +89,7 @@ get_systime( if (dtemp >= 1) { dtemp -= 1; now->l_i++; - } else if (dtemp < -1) { + } else if (dtemp < 0) { dtemp += 1; now->l_i--; }