diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 01:34:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 01:34:48 +0100 |
commit | 6967578728a3eef43b7b2be4080dafc1b87f528d (patch) | |
tree | 76b79c4c81ce8e5ad4e57df5119efecef810e673 /networking/ntpd.c | |
parent | 52185155088d0910d29c7f4fdf5cb3eecaac8965 (diff) | |
download | busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.tar.gz busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.tar.bz2 busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.zip |
whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ntpd.c')
-rw-r--r-- | networking/ntpd.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c index 7facf9484..45485c080 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -1854,7 +1854,7 @@ recv_and_process_client_pkt(void /*int fd*/) | |||
1854 | msg.m_status = G.stratum < MAXSTRAT ? G.ntp_status : LI_ALARM; | 1854 | msg.m_status = G.stratum < MAXSTRAT ? G.ntp_status : LI_ALARM; |
1855 | msg.m_status |= (query_status & VERSION_MASK); | 1855 | msg.m_status |= (query_status & VERSION_MASK); |
1856 | msg.m_status |= ((query_status & MODE_MASK) == MODE_CLIENT) ? | 1856 | msg.m_status |= ((query_status & MODE_MASK) == MODE_CLIENT) ? |
1857 | MODE_SERVER : MODE_SYM_PAS; | 1857 | MODE_SERVER : MODE_SYM_PAS; |
1858 | msg.m_stratum = G.stratum; | 1858 | msg.m_stratum = G.stratum; |
1859 | msg.m_ppoll = G.poll_exp; | 1859 | msg.m_ppoll = G.poll_exp; |
1860 | msg.m_precision_exp = G_precision_exp; | 1860 | msg.m_precision_exp = G_precision_exp; |
@@ -2328,14 +2328,13 @@ set_freq(double freq) /* frequency update */ | |||
2328 | if (pps_enable) { | 2328 | if (pps_enable) { |
2329 | if (!(pll_status & STA_PPSTIME)) | 2329 | if (!(pll_status & STA_PPSTIME)) |
2330 | report_event(EVNT_KERN, | 2330 | report_event(EVNT_KERN, |
2331 | NULL, "PPS enabled"); | 2331 | NULL, "PPS enabled"); |
2332 | ntv.status |= STA_PPSTIME | STA_PPSFREQ; | 2332 | ntv.status |= STA_PPSTIME | STA_PPSFREQ; |
2333 | } else { | 2333 | } else { |
2334 | if (pll_status & STA_PPSTIME) | 2334 | if (pll_status & STA_PPSTIME) |
2335 | report_event(EVNT_KERN, | 2335 | report_event(EVNT_KERN, |
2336 | NULL, "PPS disabled"); | 2336 | NULL, "PPS disabled"); |
2337 | ntv.status &= ~(STA_PPSTIME | | 2337 | ntv.status &= ~(STA_PPSTIME | STA_PPSFREQ); |
2338 | STA_PPSFREQ); | ||
2339 | } | 2338 | } |
2340 | if (sys_leap == LEAP_ADDSECOND) | 2339 | if (sys_leap == LEAP_ADDSECOND) |
2341 | ntv.status |= STA_INS; | 2340 | ntv.status |= STA_INS; |
@@ -2351,7 +2350,7 @@ set_freq(double freq) /* frequency update */ | |||
2351 | if (ntp_adjtime(&ntv) == TIME_ERROR) { | 2350 | if (ntp_adjtime(&ntv) == TIME_ERROR) { |
2352 | if (!(ntv.status & STA_PPSSIGNAL)) | 2351 | if (!(ntv.status & STA_PPSSIGNAL)) |
2353 | report_event(EVNT_KERN, NULL, | 2352 | report_event(EVNT_KERN, NULL, |
2354 | "PPS no signal"); | 2353 | "PPS no signal"); |
2355 | } | 2354 | } |
2356 | pll_status = ntv.status; | 2355 | pll_status = ntv.status; |
2357 | #ifdef STA_NANO | 2356 | #ifdef STA_NANO |