]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Bug 819 remove erroneous #if 0 in Windows code
authorDanny Mayer <mayer@ntp.org>
Mon, 14 May 2007 20:58:33 +0000 (16:58 -0400)
committerDanny Mayer <mayer@ntp.org>
Mon, 14 May 2007 20:58:33 +0000 (16:58 -0400)
bk: 4648cd79bYTXgPiEivYDc2wNsNgXNg

ChangeLog
ports/winnt/ntpd/ntp_iocompletionport.c

index f0966b744a4e299ef0e53aa3811cbca42e1c48ad..b19441bd18fb1bd5056d93b2bfb002ea06181a32 100644 (file)
--- 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
index c4df9bb745d9629630e81c46a53c3f24ac1b333d..c78c8610a54010c08a4706534fcca8bea1c42581 100644 (file)
@@ -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;
 }