From: Martin Burnicki Date: Tue, 5 Aug 2008 07:56:08 +0000 (+0200) Subject: Removed Windows-specific debug code which has been added in ntp-dev and fails to... X-Git-Tag: NTP_4_2_4P5_RC2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e6e7253690f3ea2c29da663975613c099b2e91;p=thirdparty%2Fntp.git Removed Windows-specific debug code which has been added in ntp-dev and fails to compile in ntp-stable. bk: 48980798MLVkKHNdjfNv94KFI02-DQ --- diff --git a/ports/winnt/ntpd/ntp_iocompletionport.c b/ports/winnt/ntpd/ntp_iocompletionport.c index ec6520c14..099623879 100644 --- a/ports/winnt/ntpd/ntp_iocompletionport.c +++ b/ports/winnt/ntpd/ntp_iocompletionport.c @@ -517,15 +517,7 @@ OnSocketRecv(DWORD i, IoCompletionInfo *lpo, DWORD Bytes, int errstatus) } else { -#ifdef DEBUG - if(debug > 3 && get_packet_mode(buff) == MODE_BROADCAST) - printf("****Accepting Broadcast packet on fd %d from %s\n", buff->fd, stoa(&buff->recv_srcadr)); -#endif ignore_this = inter->ignore_packets; -#ifdef DEBUG - if (debug > 3) - printf(" Packet mode is %d\n", get_packet_mode(buff)); -#endif /* * If we keep it add some info to the structure