Fix TELNET server locking up if an invalid command was issued.

This commit is contained in:
Dean Camera 2010-02-03 13:08:37 +00:00
parent b9cf4815e5
commit 7d3ed40070
3 changed files with 7 additions and 19 deletions

View file

@ -198,7 +198,7 @@ static void HTTPServerApp_SendResponseHeader(void)
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;
char* const AppData = (char*)uip_appdata;
char* HeaderToSend;
char* HeaderToSend;
/* Determine which HTTP header should be sent to the client */
if (AppState->HTTPServer.FileOpen)