[BusyBox-cvs] busybox/networking telnetd.c,1.3,1.4

Glenn McGrath bug1 at busybox.net
Wed Jan 22 21:09:51 UTC 2003


Update of /var/cvs/busybox/networking
In directory winder:/tmp/cvs-serv25235/networking

Modified Files:
	telnetd.c 
Log Message:
Patch from Basitan Blank to fix nasty bug


Index: telnetd.c
===================================================================
RCS file: /var/cvs/busybox/networking/telnetd.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- telnetd.c	21 Jan 2003 20:55:56 -0000	1.3
+++ telnetd.c	22 Jan 2003 21:09:48 -0000	1.4
@@ -391,9 +391,8 @@
 	argv_init[0] = loginpath;
 
 #ifdef CONFIG_FEATURE_TELNETD_INETD
-	sessions = make_new_session();
-
 	maxfd = 1;
+	sessions = make_new_session();
 #else /* CONFIG_EATURE_TELNETD_INETD */
 	sessions = 0;
 




More information about the busybox-cvs mailing list