From: Harlan Stenn Date: Tue, 9 Feb 2010 09:02:59 +0000 (-0500) Subject: [Bug 1438] Remove dead code from sntp/networking.c X-Git-Tag: NTP_4_2_6P1_RC5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d02c7d203f2dad3bad40286dff4d30d664bb08b;p=thirdparty%2Fntp.git [Bug 1438] Remove dead code from sntp/networking.c bk: 4b7124c3BdogadDEh4HiikkPs5sBJg --- diff --git a/ChangeLog b/ChangeLog index e9ff50aaf..bc1247669 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ --- * [Bug 1140] Clean up debug.html, decode.html, and ntpq.html. +* [Bug 1438] Remove dead code from sntp/networking.c. * [Bug 1477] 1st non-gmake make in clone w/VPATH can't make COPYRIGHT. * [Bug 1478] linking fails with undefined reference EVP_MD_pkey_type. * [Bug 1479] Compilation fails because of not finding readline headers. diff --git a/sntp/networking.c b/sntp/networking.c index 9aaff7a1b..a73585d1c 100644 --- a/sntp/networking.c +++ b/sntp/networking.c @@ -287,7 +287,6 @@ recv_bcst_data ( timeout_tv.tv_sec = 68; /* ntpd broadcasts every 64s */ switch(select(rsock + 1, &bcst_fd, 0, 0, &timeout_tv)) { - FD_CLR(rsock, &bcst_fd); case -1: if(ENABLED_OPT(NORMALVERBOSE))