summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen2003-04-25 12:32:37 +0000
committerEric Andersen2003-04-25 12:32:37 +0000
commit86f2cce6bfc6d86da47c090c06c294410818632b (patch)
tree18123129b2e51472b74a4661db4f39061df7a6e9 /networking
parent2c1de61023d384fd0a365405925940c3528cb75a (diff)
downloadbusybox-86f2cce6bfc6d86da47c090c06c294410818632b.zip
busybox-86f2cce6bfc6d86da47c090c06c294410818632b.tar.gz
Patch from Steven Scholz to fix telnetd compile problem
Diffstat (limited to 'networking')
-rw-r--r--networking/telnetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 077194c..27b08ac 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -1,4 +1,4 @@
-/* $Id: telnetd.c,v 1.5 2003/03/19 09:12:39 mjn3 Exp $
+/* $Id: telnetd.c,v 1.6 2003/04/25 12:32:37 andersen Exp $
*
* Simple telnet server
* Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
@@ -363,6 +363,7 @@ telnetd_main(int argc, char **argv)
#else /* CONFIG_EATURE_TELNETD_INETD */
"f:l:p:";
#endif /* CONFIG_FEATURE_TELNETD_INETD */
+ int maxlen, w, r;
for (;;) {
c = getopt( argc, argv, options);
@@ -505,7 +506,6 @@ telnetd_main(int argc, char **argv)
ts = sessions;
while (ts) { /* For all sessions... */
#endif /* CONFIG_FEATURE_TELNETD_INETD */
- int maxlen, w, r;
#ifndef CONFIG_FEATURE_TELNETD_INETD
struct tsession *next = ts->next; /* in case we free ts. */
#endif /* CONFIG_FEATURE_TELNETD_INETD */