aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-10-27 08:44:53 +0000
committerUlrich Drepper <drepper@redhat.com>2003-10-27 08:44:53 +0000
commit11df531f59482469dd5482e8d397d89ce4acd6f5 (patch)
tree051090ca248ef98615069cdedba117dede2858ee /inet
parenta14f121d3edf326ffef2f3dea5d9adfe673cba81 (diff)
downloadglibc-11df531f59482469dd5482e8d397d89ce4acd6f5.tar
glibc-11df531f59482469dd5482e8d397d89ce4acd6f5.tar.gz
glibc-11df531f59482469dd5482e8d397d89ce4acd6f5.tar.bz2
glibc-11df531f59482469dd5482e8d397d89ce4acd6f5.zip
Update.
2003-10-27 Ulrich Drepper <drepper@redhat.com> * inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip rest of line. We use getline which means this cannot happen.
Diffstat (limited to 'inet')
-rw-r--r--inet/rcmd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index ad72108b6a..d9645a38a6 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -848,15 +848,6 @@ __validuser2_sa(hostf, ra, ralen, luser, ruser, rhost)
continue;
}
- /* Skip lines that are too long. */
- if (strchr (p, '\n') == NULL) {
- int ch = getc_unlocked (hostf);
-
- while (ch != '\n' && ch != EOF)
- ch = getc_unlocked (hostf);
- continue;
- }
-
for (;*p && !isspace(*p); ++p) {
*p = _tolower (*p);
}