]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Bug 819 - Timeout for WaitForMultipleObjects was set to 500ms instead of INFINITE
authorDanny Mayer <mayer@ntp.org>
Sat, 12 May 2007 16:29:54 +0000 (12:29 -0400)
committerDanny Mayer <mayer@ntp.org>
Sat, 12 May 2007 16:29:54 +0000 (12:29 -0400)
bk: 4645eb82omIqjAZQ8SAu9BHieNU5RQ

ChangeLog
ports/winnt/ntpd/ntp_iocompletionport.c

index 934a919b5978bb1340e099ffa08540349da269e1..5f239385fcb8181b43a51eb27db7ab16d8e41b39 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 819] Timeout for WaitForMultipleObjects was 500ms instead of INFINITE
 * Audio documentation updates from Dave Mills.
 * New config file parsing code, from Sachin Kamboj.
 * fuzz bit cleanup from Dave Mills.
index b89a36227fadfc87e2a1187ee3a4be0095b1ca62..c4df9bb745d9629630e81c46a53c3f24ac1b333d 100644 (file)
@@ -732,8 +732,7 @@ io_completion_port_write(
  */
 int GetReceivedBuffers()
 {
-//     DWORD Index = WaitForMultipleObjects(MAXHANDLES, WaitHandles, FALSE, INFINITE);
-       DWORD Index = WaitForMultipleObjects(MAXHANDLES, WaitHandles, FALSE, 500);
+       DWORD Index = WaitForMultipleObjects(MAXHANDLES, WaitHandles, FALSE, INFINITE);
        switch (Index) {
        case WAIT_OBJECT_0 + 0 : /* exit request */
                exit(0);