From ba702b016d9fc28aa5271dfcdc79df9fc918e06f Mon Sep 17 00:00:00 2001 From: Danny Mayer Date: Mon, 14 May 2007 16:58:33 -0400 Subject: [PATCH] Bug 819 remove erroneous #if 0 in Windows code bk: 4648cd79bYTXgPiEivYDc2wNsNgXNg --- ChangeLog | 1 + ports/winnt/ntpd/ntp_iocompletionport.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.47.3