summaryrefslogtreecommitdiff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rcmd.c')
-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);
}