From: asterix Date: Tue, 4 Oct 2011 09:11:50 +0000 (+0000) Subject: Fix 500 error page. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=751e0228258e4c9e738fdcbfd43e45cdf873a553;p=bertos.git Fix 500 error page. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5139 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/hw/hw_http.c b/bertos/hw/hw_http.c index 3e9eb90e..d195d05d 100644 --- a/bertos/hw/hw_http.c +++ b/bertos/hw/hw_http.c @@ -58,8 +58,8 @@ const size_t http_sd_not_present_len = sizeof(http_sd_not_present); const char http_server_error[] = " \ \ \ -404 Not Found

500 Internal Server error

\ +500 Internal Server error

500 Internal Server error

\

The internal server error was occur while processing the requested page.


\
BeRTOS simple HTTP server
"; -const size_t http_server_error_len = sizeof(http_server_error_len); +const size_t http_server_error_len = sizeof(http_server_error); diff --git a/boards/sam3x-ek/hw/hw_http.c b/boards/sam3x-ek/hw/hw_http.c index 3e9eb90e..d195d05d 100644 --- a/boards/sam3x-ek/hw/hw_http.c +++ b/boards/sam3x-ek/hw/hw_http.c @@ -58,8 +58,8 @@ const size_t http_sd_not_present_len = sizeof(http_sd_not_present); const char http_server_error[] = " \ \ \ -404 Not Found

500 Internal Server error

\ +500 Internal Server error

500 Internal Server error

\

The internal server error was occur while processing the requested page.


\
BeRTOS simple HTTP server
"; -const size_t http_server_error_len = sizeof(http_server_error_len); +const size_t http_server_error_len = sizeof(http_server_error);