X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b9cf4815e5445db2d805117c90adaa1755c853cf..a71820b259577c3cb0efd6c04b5168551a16a6e1:/Projects/Webserver/Lib/HTTPServerApp.c?ds=sidebyside diff --git a/Projects/Webserver/Lib/HTTPServerApp.c b/Projects/Webserver/Lib/HTTPServerApp.c index 635a3076c..ad768c89b 100644 --- a/Projects/Webserver/Lib/HTTPServerApp.c +++ b/Projects/Webserver/Lib/HTTPServerApp.c @@ -41,7 +41,7 @@ * given location, and gives extra connection information. */ char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n" - "Server: LUFA RNDIS\r\n" + "Server: LUFA " LUFA_VERSION_STRING "\r\n" "Connection: close\r\n" "MIME-version: 1.0\r\n" "Content-Type: "; @@ -50,7 +50,7 @@ char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n" * given URL is invalid, and gives extra error information. */ char PROGMEM HTTP404Header[] = "HTTP/1.1 404 Not Found\r\n" - "Server: LUFA RNDIS\r\n" + "Server: LUFA " LUFA_VERSION_STRING "\r\n" "Connection: close\r\n" "MIME-version: 1.0\r\n" "Content-Type: text/plain\r\n\r\n" @@ -150,7 +150,7 @@ void HTTPServerApp_Callback(void) } } -/** HTTP Server State handler for the Request Process state. This state manages the processing of incomming HTTP +/** HTTP Server State handler for the Request Process state. This state manages the processing of incoming HTTP * GET requests to the server from the receiving HTTP client. */ static void HTTPServerApp_OpenRequestedFile(void) @@ -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)