diff options
Diffstat (limited to 'usr.sbin/xntpd/lib/dofptoa.c')
-rw-r--r-- | usr.sbin/xntpd/lib/dofptoa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/lib/dofptoa.c b/usr.sbin/xntpd/lib/dofptoa.c index 31673fb..bfa9c71 100644 --- a/usr.sbin/xntpd/lib/dofptoa.c +++ b/usr.sbin/xntpd/lib/dofptoa.c @@ -72,7 +72,7 @@ dofptoa(fpv, neg, ndec, msec) if (dec > 6) dec = 6; - + if (dec > 0) { do { val &= 0xffff; @@ -99,14 +99,14 @@ dofptoa(fpv, neg, ndec, msec) */ while (cp < (cpdec -1) && *cp == 0) cp++; - + /* * Copy it into the buffer, asciizing as we go. */ bp = buf; if (neg) *bp++ = '-'; - + while (cp < cpend) { if (cp == cpdec) *bp++ = '.'; |