diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-08-20 07:14:46 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-08-20 07:14:46 +0000 |
commit | 650bfbaefb8b5f5883059337948fad819db42d4a (patch) | |
tree | 89427abf8b284caa03202a785908268e53e754bb /usr.sbin/xntpd | |
parent | 592af9e5e30c588bbddbab64c5ce04e4df251a68 (diff) | |
download | FreeBSD-src-650bfbaefb8b5f5883059337948fad819db42d4a.zip FreeBSD-src-650bfbaefb8b5f5883059337948fad819db42d4a.tar.gz |
Fix some cut and paste damage.
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
Diffstat (limited to 'usr.sbin/xntpd')
-rw-r--r-- | usr.sbin/xntpd/xntpdc/ntpdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/xntpdc/ntpdc.c b/usr.sbin/xntpd/xntpdc/ntpdc.c index de4c342..ad771e3 100644 --- a/usr.sbin/xntpd/xntpdc/ntpdc.c +++ b/usr.sbin/xntpd/xntpdc/ntpdc.c @@ -826,7 +826,7 @@ getcmds() if ((bp = el_gets(el, &num)) == NULL || num == 0) return; - len = (num > MAX_CMDLINE) ? MAX_CMDLINE : num); + len = (num > MAX_CMDLINE) ? MAX_CMDLINE : num; memcpy(line, bp, len); line[len] = 0; history(hist, H_ENTER, bp); |