aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/TELNETServerApp.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-12 07:27:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-12 07:27:26 +0000
commit8154331da60ac08b0e2b09ca67008ec4a8c7698b (patch)
tree4eb3824afd288039b995f6f607bed6f0129d74ab /Projects/Webserver/Lib/TELNETServerApp.c
parent41ef05a6e559a10134967e8a899aab78c556b645 (diff)
downloadlufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.gz
lufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.bz2
lufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.zip
Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.
Diffstat (limited to 'Projects/Webserver/Lib/TELNETServerApp.c')
-rw-r--r--Projects/Webserver/Lib/TELNETServerApp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Projects/Webserver/Lib/TELNETServerApp.c b/Projects/Webserver/Lib/TELNETServerApp.c
index 291351ae8..7d8c907fe 100644
--- a/Projects/Webserver/Lib/TELNETServerApp.c
+++ b/Projects/Webserver/Lib/TELNETServerApp.c
@@ -38,15 +38,15 @@
#include "TELNETServerApp.h"
/** Welcome message to send to a TELNET client when a connection is first made. */
-char PROGMEM WelcomeHeader[] = "********************************************\r\n"
- "* LUFA uIP Webserver (TELNET) *\r\n"
- "********************************************\r\n";
+const char PROGMEM WelcomeHeader[] = "********************************************\r\n"
+ "* LUFA uIP Webserver (TELNET) *\r\n"
+ "********************************************\r\n";
/** Main TELNET menu, giving the user the list of available commands they may issue */
-char PROGMEM TELNETMenu[] = "\r\n"
- " Available Commands:\r\n"
- " c) List Active TCP Connections\r\n"
- "\r\nCommand>";
+const char PROGMEM TELNETMenu[] = "\r\n"
+ " Available Commands:\r\n"
+ " c) List Active TCP Connections\r\n"
+ "\r\nCommand>";
/** Initialization function for the simple HTTP webserver. */
void TELNETServerApp_Init(void)