diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-21 22:46:38 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-21 22:46:38 +0000 |
commit | 541a7185ffd0ca638b159cdecd66cf113e21de26 (patch) | |
tree | 5af2ea9ada29d6fa941c5bb980ca2dbf5f3f734b /usr.bin | |
parent | faa965af0f78800f3268c4f1d22db78f9cc54f8f (diff) |
oflow fix in rev 1.8 was wrong; mjl@netbsd.org
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/telnet/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c index 0dbc17a4ba5..9d43904cdde 100644 --- a/usr.bin/telnet/main.c +++ b/usr.bin/telnet/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 1999/12/15 11:16:31 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.10 2001/01/21 22:46:37 aaron Exp $ */ /* $NetBSD: main.c,v 1.5 1996/02/28 21:04:05 thorpej Exp $ */ /* @@ -274,8 +274,8 @@ main(argc, argv) break; case 't': #if defined(TN3270) && defined(unix) + (void)strlcpy(tline, optarg, sizeof tline); transcom = tline; - (void)strlcpy(transcom, optarg, sizeof transcom); #else fprintf(stderr, "%s: Warning: -t ignored, no TN3270 support.\n", |