projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731f81c
)
touchup whitespace/english a bit more
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 10 May 2006 15:59:07 +0000
(15:59 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 10 May 2006 15:59:07 +0000
(15:59 -0000)
networking/telnetd.c
patch
|
blob
|
history
diff --git
a/networking/telnetd.c
b/networking/telnetd.c
index 534af96ad54cbd65ba6c1209e886dd7580a695a1..f2ca287cbb60b2000ed9413b076b0299074b6ffe 100644
(file)
--- a/
networking/telnetd.c
+++ b/
networking/telnetd.c
@@
-298,9
+298,8
@@
make_new_session(int sockfd)
send_iac(ts, WILL, TELOPT_ECHO);
send_iac(ts, WILL, TELOPT_SGA);
-
if ((pid = fork()) < 0) {
- syslog(LOG_ERR, "C
an`t forking
");
+ syslog(LOG_ERR, "C
ould not fork
");
}
if (pid == 0) {
/* In child, open the child's side of the tty. */
@@
-314,7
+313,7
@@
make_new_session(int sockfd)
if (open(tty_name, O_RDWR /*| O_NOCTTY*/) < 0) {
syslog(LOG_ERR, "Could not open tty");
exit(1);
-
}
+ }
dup(0);
dup(0);