From: Harlan Stenn Date: Fri, 24 Mar 2006 05:27:03 +0000 (-0500) Subject: [Bug 571] fix a typo that prevents ntpdate from working X-Git-Tag: NTP_4_2_1P10_RC~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662dd87692b50a7b68fc111c57cd659d9821f4e6;p=thirdparty%2Fntp.git [Bug 571] fix a typo that prevents ntpdate from working bk: 44238327MxzD60-BC-OG1YIQOSWi6Q --- diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c index ae8f8ff1d..76109be97 100644 --- a/ntpdate/ntpdate.c +++ b/ntpdate/ntpdate.c @@ -609,7 +609,7 @@ ntpdatemain ( } tot_recvbufs = full_recvbuffs(); /* get received buffers */ - if (!was_alarmed && tot_recvbufs > 0) { + if (!was_alarmed && tot_recvbufs == 0) { /* * Nothing to do. Wait for something. */