diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-18 17:17:10 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-18 17:17:10 +0000 |
commit | fbd31d45b078478b0ee11ccecd9907798b168612 (patch) | |
tree | 59fdab8cf5dbb0f15dcb122a07595e7de77689a8 | |
parent | 605379004389fd17d260553b838bf853b9b6f379 (diff) |
Fix pasto by me; spotted by deraadt
-rw-r--r-- | usr.bin/rlogin/kcmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rlogin/kcmd.c b/usr.bin/rlogin/kcmd.c index 2ab8b9729fb..cee5203d20f 100644 --- a/usr.bin/rlogin/kcmd.c +++ b/usr.bin/rlogin/kcmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kcmd.c,v 1.5 1996/10/16 06:17:56 millert Exp $ */ +/* $OpenBSD: kcmd.c,v 1.6 1996/10/18 17:17:09 tholo Exp $ */ /* $NetBSD: kcmd.c,v 1.2 1995/03/21 07:58:32 cgd Exp $ */ /* @@ -39,7 +39,7 @@ static char Xsccsid[] = "derived from @(#)rcmd.c 5.17 (Berkeley) 6/27/88"; static char sccsid[] = "@(#)kcmd.c 8.2 (Berkeley) 8/19/93"; #else -static char rcsid[] = "$OpenBSD: kcmd.c,v 1.5 1996/10/16 06:17:56 millert Exp $"; +static char rcsid[] = "$OpenBSD: kcmd.c,v 1.6 1996/10/18 17:17:09 tholo Exp $"; #endif #endif /* not lint */ @@ -191,7 +191,6 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, ticket, service, realm, goto bad; } again: - s3 = accept(s2, (struct sockaddr *)&from, &len); s3 = accept(s2, (struct sockaddr *)&from, &len); /* * XXX careful for ftp bounce attacks. If discovered, shut them |