From: Danny Mayer Date: Sat, 12 May 2007 16:29:54 +0000 (-0400) Subject: Bug 819 - Timeout for WaitForMultipleObjects was set to 500ms instead of INFINITE X-Git-Tag: NTP_4_2_5P30~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d17b5cdc53e3d60d94ab79d755643637f799cc;p=thirdparty%2Fntp.git Bug 819 - Timeout for WaitForMultipleObjects was set to 500ms instead of INFINITE bk: 4645eb82omIqjAZQ8SAu9BHieNU5RQ --- diff --git a/ChangeLog b/ChangeLog index 934a919b5..5f239385f 100644 --- 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. diff --git a/ports/winnt/ntpd/ntp_iocompletionport.c b/ports/winnt/ntpd/ntp_iocompletionport.c index b89a36227..c4df9bb74 100644 --- a/ports/winnt/ntpd/ntp_iocompletionport.c +++ b/ports/winnt/ntpd/ntp_iocompletionport.c @@ -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);