From: Danny Mayer Date: Mon, 28 May 2007 00:11:03 +0000 (-0400) Subject: Bug #843 Windows Completion port code was incorrectly merged from -stable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c101e795eb9db083d1c83b8b5e86ce7bfbd7ffd9;p=thirdparty%2Fntp.git Bug #843 Windows Completion port code was incorrectly merged from -stable bk: 465a1e17fUq4oOPByKh59UucGIAvbw --- diff --git a/ports/winnt/ntpd/ntp_iocompletionport.c b/ports/winnt/ntpd/ntp_iocompletionport.c index 4d190dec9f..39ae4f15ae 100644 --- a/ports/winnt/ntpd/ntp_iocompletionport.c +++ b/ports/winnt/ntpd/ntp_iocompletionport.c @@ -529,21 +529,6 @@ OnSocketRecv(DWORD i, IoCompletionInfo *lpo, DWORD Bytes, int errstatus) freerecvbuf(buff); } } - - QueueSocketRecv(inter->fd, newbuff, lpo); - /* - * Now signal we have something to process - */ - if (newbuff != buff) { - if( !SetEvent( WaitableIoEventHandle ) ) { -#ifdef DEBUG - if (debug > 3) { - printf( "Error %d setting IoEventHandle\n", GetLastError() ); - } -#endif - } - } - if (newbuff != NULL) QueueSocketRecv(inter->fd, newbuff, lpo); return 1;