summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/rcmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c
index b5ca8700eb2d..405dd8ec4d1e 100644
--- a/lib/libc/net/rcmd.c
+++ b/lib/libc/net/rcmd.c
@@ -390,10 +390,6 @@ __ivaliduser(hostf, raddr, luser, ruser)
/* comment... */
continue;
}
- if (*p == '\n' || *p == '#') {
- /* comment... */
- continue;
- }
while (*p != '\n' && *p != ' ' && *p != '\t' && *p != '\0') {
*p = isupper(*p) ? tolower(*p) : *p;
p++;