From: Harlan Stenn Date: Tue, 13 Nov 2007 21:57:44 +0000 (-0500) Subject: [Bug 961] refclock_tpro.c:tpro_poll() calls refclock_receive() twice X-Git-Tag: NTP_4_2_5P98~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7955824c2442709d8dabd6badd5db23cd36a69ea;p=thirdparty%2Fntp.git [Bug 961] refclock_tpro.c:tpro_poll() calls refclock_receive() twice bk: 473a1dd8RCLu1LREm6EHH5h3bZBqDg --- diff --git a/ChangeLog b/ChangeLog index 27b0072af..46308f85d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 961] refclock_tpro.c:tpro_poll() calls refclock_receive() twice. * [Bug 957] Windows only: Let command line parameters from the Windows SCM GUI override the standard parameters from the ImagePath registry key. * Added HAVE_INT32_T to the Windows config.h to avoid duplicate definitions. diff --git a/ntpd/refclock_tpro.c b/ntpd/refclock_tpro.c index 3c9ddf7eb..860f8bab5 100644 --- a/ntpd/refclock_tpro.c +++ b/ntpd/refclock_tpro.c @@ -204,7 +204,6 @@ tpro_poll( refclock_report(peer, CEVNT_TIMEOUT); return; } - refclock_receive(peer); pp->lastref = pp->lastrec; record_clock_stats(&peer->srcadr, pp->a_lastcode); refclock_receive(peer);