projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This seems sufficient for ifup and ifdown to actually work
[oweals/busybox.git]
/
networking
/
telnetd.c
diff --git
a/networking/telnetd.c
b/networking/telnetd.c
index d17682eb40d188cb36326ce2f48e1dd2acd5a454..8634a4233cda818bf66d1e40639fbaf37b112b31 100644
(file)
--- a/
networking/telnetd.c
+++ b/
networking/telnetd.c
@@
-1,4
+1,4
@@
-/* $Id: telnetd.c,v 1.
3 2003/01/21 20:55:56
bug1 Exp $
+/* $Id: telnetd.c,v 1.
4 2003/01/22 21:09:48
bug1 Exp $
*
* Simple telnet server
* Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
*
* Simple telnet server
* Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
@@
-391,9
+391,8
@@
telnetd_main(int argc, char **argv)
argv_init[0] = loginpath;
#ifdef CONFIG_FEATURE_TELNETD_INETD
argv_init[0] = loginpath;
#ifdef CONFIG_FEATURE_TELNETD_INETD
- sessions = make_new_session();
-
maxfd = 1;
maxfd = 1;
+ sessions = make_new_session();
#else /* CONFIG_EATURE_TELNETD_INETD */
sessions = 0;
#else /* CONFIG_EATURE_TELNETD_INETD */
sessions = 0;