diff options
| author | Brian S. Dean <bsd@FreeBSD.org> | 2000-03-16 23:53:41 +0000 |
|---|---|---|
| committer | Brian S. Dean <bsd@FreeBSD.org> | 2000-03-16 23:53:41 +0000 |
| commit | a9f9141ca5f267d059649f9d30a70dbfbef75d2d (patch) | |
| tree | 98c5df369a3fea7cea380ce7c56877e95ab6051c /lib/libc/net | |
| parent | 9c8e9b4a1440928388267c9c8895397fbe499b99 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net')
| -rw-r--r-- | lib/libc/net/rcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index af8fc3031133..5bbef4bb4a85 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -562,7 +562,7 @@ __ivaliduser_af(hostf, raddr, luser, ruser, af, len) while (fgets(buf, sizeof(buf), hostf)) { p = buf; /* Skip lines that are too long. */ - if (strchr(p, '\n') == NULL && !feof(hostf)) { + if (strchr(p, '\n') == NULL) { while ((ch = getc(hostf)) != '\n' && ch != EOF); continue; } |
