]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
recvbuff.c:
authorSven Dietricht <dietrict@ntp.org>
Wed, 17 Nov 1999 21:06:10 +0000 (21:06 -0000)
committerSven Dietricht <dietrict@ntp.org>
Wed, 17 Nov 1999 21:06:10 +0000 (21:06 -0000)
  No longer using events associated with packet buffers,
  because Windows seems to be losing too many somewhere.

bk: 383318c2225rpzKLNaDVg_g0sJWWqw

libntp/recvbuff.c

index 37166a4a5c4208988f33ca1d8823f9f1f50ef298..4b07734cce941747a5efc2147ef4df267aab5b88 100644 (file)
@@ -63,7 +63,7 @@ initialise_buffer(struct recvbuf *buff)
        memset((char *) buff, 0, sizeof(struct recvbuf));
 
 #if defined HAVE_IO_COMPLETION_PORT
-       buff->iocompletioninfo.overlapped.hEvent = CreateEvent(NULL, FALSE,FALSE, NULL);
+       /*buff->iocompletioninfo.overlapped.hEvent = CreateEvent(NULL, FALSE,FALSE, NULL); */
        buff->wsabuff.len = RX_BUFF_SIZE;
        buff->wsabuff.buf = (char *) buff->recv_buffer;
 #endif