aboutsummaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 724c7cf75..491c66fd1 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -1,4 +1,4 @@
1/* $Id: telnetd.c,v 1.12 2004/06/22 10:07:17 andersen Exp $ 1/* $Id: telnetd.c,v 1.13 2004/09/14 17:24:58 bug1 Exp $
2 * 2 *
3 * Simple telnet server 3 * Simple telnet server
4 * Bjorn Wesen, Axis Communications AB (bjornw@axis.com) 4 * Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
@@ -49,11 +49,10 @@
49 49
50#define BUFSIZE 4000 50#define BUFSIZE 4000
51 51
52static const char *loginpath
53#ifdef CONFIG_LOGIN 52#ifdef CONFIG_LOGIN
54 = "/bin/login"; 53static const char *loginpath = "/bin/login";
55#else 54#else
56; 55static const char *loginpath;
57#endif 56#endif
58static const char *issuefile = "/etc/issue.net"; 57static const char *issuefile = "/etc/issue.net";
59 58
@@ -401,10 +400,10 @@ telnetd_main(int argc, char **argv)
401 if (c == EOF) break; 400 if (c == EOF) break;
402 switch (c) { 401 switch (c) {
403 case 'f': 402 case 'f':
404 issuefile = strdup (optarg); 403 issuefile = optarg;
405 break; 404 break;
406 case 'l': 405 case 'l':
407 loginpath = strdup (optarg); 406 loginpath = optarg;
408 break; 407 break;
409#ifndef CONFIG_FEATURE_TELNETD_INETD 408#ifndef CONFIG_FEATURE_TELNETD_INETD
410 case 'p': 409 case 'p':