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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3269d942a55818271ff7e9683d766eb6ae9c8cf;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 3bd68ffb5b..da472b3754 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; } /*