]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix Bug #596 and #572 to deal with polling restrictions
authorDanny Mayer <mayer@ntp.org>
Sat, 15 Apr 2006 22:32:57 +0000 (18:32 -0400)
committerDanny Mayer <mayer@ntp.org>
Sat, 15 Apr 2006 22:32:57 +0000 (18:32 -0400)
bk: 44417499tHtpIPdkeb9oObzMqKoPjw

ntpd/ntpd.c

index 3bd68ffb5b3f8bb6c32cc824021d91e73f043506..da472b375404e3db114ffcc2ebfd3c7825e1f017 100644 (file)
@@ -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;
                }
 
                /*