From: Danny Mayer Date: Sat, 15 Apr 2006 22:32:57 +0000 (-0400) Subject: Fix Bug #596 and #572 to deal with polling restrictions X-Git-Tag: NTP_4_2_1P248_RC~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0e72f453653048e48105ccbc830d122ef548332;p=thirdparty%2Fntp.git Fix Bug #596 and #572 to deal with polling restrictions bk: 44417499tHtpIPdkeb9oObzMqKoPjw --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 3bd68ffb5..da472b375 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -957,7 +957,7 @@ getgroup: #endif /* HAVE_IO_COMPLETION_PORT */ - while (full_recvbuffs()) + while (1) { /* * Call the data procedure to handle each received @@ -969,6 +969,8 @@ getgroup: (rbuf->receiver)(rbuf); freerecvbuf(rbuf); } + else + break; } /*