aboutsummaryrefslogtreecommitdiff
path: root/networking/ntpd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-29 11:46:52 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-29 11:46:52 +0200
commitfb132e47370378474c68ad22c1c0cb2ccee178de (patch)
tree4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /networking/ntpd.c
parent66cb7bed33da605674c3d24734466b8e8a60e337 (diff)
downloadbusybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz
busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.bz2
busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.zip
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'networking/ntpd.c')
-rw-r--r--networking/ntpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index b7bd239b5..8fe529edb 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -89,7 +89,7 @@
89//UNUSED: #define PANIC_THRESHOLD 1000 /* panic threshold (sec) */ 89//UNUSED: #define PANIC_THRESHOLD 1000 /* panic threshold (sec) */
90 90
91#define FREQ_TOLERANCE 0.000015 /* frequency tolerance (15 PPM) */ 91#define FREQ_TOLERANCE 0.000015 /* frequency tolerance (15 PPM) */
92#define BURSTPOLL 0 /* initial poll */ 92#define BURSTPOLL 0 /* initial poll */
93#define MINPOLL 5 /* minimum poll interval. std ntpd uses 6 (6: 64 sec) */ 93#define MINPOLL 5 /* minimum poll interval. std ntpd uses 6 (6: 64 sec) */
94#define BIGPOLL 10 /* drop to lower poll at any trouble (10: 17 min) */ 94#define BIGPOLL 10 /* drop to lower poll at any trouble (10: 17 min) */
95#define MAXPOLL 12 /* maximum poll interval (12: 1.1h, 17: 36.4h). std ntpd uses 17 */ 95#define MAXPOLL 12 /* maximum poll interval (12: 1.1h, 17: 36.4h). std ntpd uses 17 */
@@ -865,7 +865,7 @@ fit(peer_t *p, double rd)
865 VERB3 bb_error_msg("peer %s unfit for selection: unreachable", p->p_dotted); 865 VERB3 bb_error_msg("peer %s unfit for selection: unreachable", p->p_dotted);
866 return 0; 866 return 0;
867 } 867 }
868#if 0 /* we filter out such packets earlier */ 868#if 0 /* we filter out such packets earlier */
869 if ((p->lastpkt_status & LI_ALARM) == LI_ALARM 869 if ((p->lastpkt_status & LI_ALARM) == LI_ALARM
870 || p->lastpkt_stratum >= MAXSTRAT 870 || p->lastpkt_stratum >= MAXSTRAT
871 ) { 871 ) {
@@ -2110,7 +2110,7 @@ direct_freq(double fp_offset)
2110} 2110}
2111 2111
2112static void 2112static void
2113set_freq(double freq) /* frequency update */ 2113set_freq(double freq) /* frequency update */
2114{ 2114{
2115 char tbuf[80]; 2115 char tbuf[80];
2116 2116