From: Danny Mayer Date: Mon, 14 May 2007 20:58:33 +0000 (-0400) Subject: Bug 819 remove erroneous #if 0 in Windows code X-Git-Tag: NTP_4_2_5P33~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba702b016d9fc28aa5271dfcdc79df9fc918e06f;p=thirdparty%2Fntp.git Bug 819 remove erroneous #if 0 in Windows code bk: 4648cd79bYTXgPiEivYDc2wNsNgXNg --- diff --git a/ChangeLog b/ChangeLog index f0966b744..b19441bd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* Bug 819 remove erroneous #if 0 in Windows completion port code * The new config code missed an #ifdef for building without refclocks. * Distribute some files needed by the new config parsing code. * [Bug 819] Timeout for WaitForMultipleObjects was 500ms instead of INFINITE diff --git a/ports/winnt/ntpd/ntp_iocompletionport.c b/ports/winnt/ntpd/ntp_iocompletionport.c index c4df9bb74..c78c8610a 100644 --- a/ports/winnt/ntpd/ntp_iocompletionport.c +++ b/ports/winnt/ntpd/ntp_iocompletionport.c @@ -505,7 +505,6 @@ OnSocketRecv(DWORD i, IoCompletionInfo *lpo, DWORD Bytes, int errstatus) /* * Now signal we have something to process */ -#if 0 if (newbuff != buff) { if( !SetEvent( WaitableIoEventHandle ) ) { #ifdef DEBUG @@ -515,7 +514,6 @@ OnSocketRecv(DWORD i, IoCompletionInfo *lpo, DWORD Bytes, int errstatus) #endif } } -#endif return 1; }