From: Danny Mayer Date: Wed, 16 Feb 2005 03:56:40 +0000 (-0500) Subject: Make MAXZEROREADS 1 so that the first zero-length read causes code to break and go... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d55415ff35cc752f6bdde5b4dc454535b31141f;p=thirdparty%2Fntp.git Make MAXZEROREADS 1 so that the first zero-length read causes code to break and go to next socket bk: 4212c478954BoxfecTDwInC_yZ2Zew --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 48e0ff7ff9..78bd704984 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -1833,7 +1833,7 @@ input_handler( * Define the maximum number of 0 byte consecutive reads * allowed before we declare it done */ -#define MAXZEROREADS 20 +#define MAXZEROREADS 1 int totzeroreads; int buflen;