summaryrefslogtreecommitdiffstats
path: root/libexec/rshd
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-04-29 12:02:00 +0000
committerasmodai <asmodai@FreeBSD.org>2000-04-29 12:02:00 +0000
commitf2ebace3ac66deb6419c12c429885dd32282d72d (patch)
tree5d456e9c364681579f49fae0ae21f842c89bc654 /libexec/rshd
parent25f146dd192adeb287a2a1d8eb64e7d1ed97a36c (diff)
downloadFreeBSD-src-f2ebace3ac66deb6419c12c429885dd32282d72d.zip
FreeBSD-src-f2ebace3ac66deb6419c12c429885dd32282d72d.tar.gz
Remove dead debug code.
This also removes a dependency/reference on COMPAT_43.
Diffstat (limited to 'libexec/rshd')
-rw-r--r--libexec/rshd/rshd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index cdc2ce1..666182b 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -228,14 +228,6 @@ doit(fromp)
(void) signal(SIGINT, SIG_DFL);
(void) signal(SIGQUIT, SIG_DFL);
(void) signal(SIGTERM, SIG_DFL);
-#ifdef DEBUG
- { int t = open(_PATH_TTY, 2);
- if (t >= 0) {
- ioctl(t, TIOCNOTTY, (char *)0);
- (void) close(t);
- }
- }
-#endif
fromp->su_port = ntohs((u_short)fromp->su_port);
if (af != AF_INET
#ifdef INET6
OpenPOWER on IntegriCloud