diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 16:41:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 16:41:22 +0000 |
commit | 1d6f5ac393efd77072cf7771b1be1e0ce3aa8519 (patch) | |
tree | 0d5d42e6f7afdf9de6994c2de57aaa22693b6079 | |
parent | b079187d0a366ac9b3793ebc694d774d691bb640 (diff) |
from tls; contrary to unpopular opinion, "help" is a perfectly valid hostname
-rw-r--r-- | usr.bin/telnet/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index c765bb85933..b175176cd96 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -33,7 +33,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)commands.c 8.1 (Berkeley) 6/6/93"; */ -static char *rcsid = "$Id: commands.c,v 1.1 1995/10/18 08:46:14 deraadt Exp $"; +static char *rcsid = "$Id: commands.c,v 1.2 1996/01/05 16:41:21 deraadt Exp $"; #endif /* not lint */ #if defined(unix) @@ -2099,7 +2099,7 @@ tn(argc, argv) cmd = *argv; --argc; ++argv; while (argc) { - if (isprefix(*argv, "help") || isprefix(*argv, "?")) + if (isprefix(*argv, "?")) goto usage; if (strcmp(*argv, "-l") == 0) { --argc; ++argv; |