aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 82755a08a..920702141 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -175,7 +175,7 @@ static const uint16_t http_response_type[] ALIGN2 = {
175 HTTP_MOVED_TEMPORARILY, 175 HTTP_MOVED_TEMPORARILY,
176 HTTP_REQUEST_TIMEOUT, 176 HTTP_REQUEST_TIMEOUT,
177 HTTP_NOT_IMPLEMENTED, 177 HTTP_NOT_IMPLEMENTED,
178#if ENABLE_FEATURE_HTTPD_BASIC_AUTH 178#if ENABLE_FEATURE_HTTPD_BASIC_AUTH
179 HTTP_UNAUTHORIZED, 179 HTTP_UNAUTHORIZED,
180#endif 180#endif
181 HTTP_NOT_FOUND, 181 HTTP_NOT_FOUND,
@@ -1405,7 +1405,7 @@ static void send_cgi_and_exit(
1405 1405
1406/* 1406/*
1407 * Send a file response to a HTTP request, and exit 1407 * Send a file response to a HTTP request, and exit
1408 * 1408 *
1409 * Parameters: 1409 * Parameters:
1410 * const char *url The requested URL (with leading /). 1410 * const char *url The requested URL (with leading /).
1411 * headers Don't send headers before if FALSE. 1411 * headers Don't send headers before if FALSE.
@@ -1992,7 +1992,7 @@ static void mini_httpd(int server_socket)
1992 while (1) { 1992 while (1) {
1993 int n; 1993 int n;
1994 len_and_sockaddr fromAddr; 1994 len_and_sockaddr fromAddr;
1995 1995
1996 /* Wait for connections... */ 1996 /* Wait for connections... */
1997 fromAddr.len = LSA_SIZEOF_SA; 1997 fromAddr.len = LSA_SIZEOF_SA;
1998 n = accept(server_socket, &fromAddr.sa, &fromAddr.len); 1998 n = accept(server_socket, &fromAddr.sa, &fromAddr.len);
@@ -2037,7 +2037,7 @@ static void mini_httpd_nommu(int server_socket, int argc, char **argv)
2037 while (1) { 2037 while (1) {
2038 int n; 2038 int n;
2039 len_and_sockaddr fromAddr; 2039 len_and_sockaddr fromAddr;
2040 2040
2041 /* Wait for connections... */ 2041 /* Wait for connections... */
2042 fromAddr.len = LSA_SIZEOF_SA; 2042 fromAddr.len = LSA_SIZEOF_SA;
2043 n = accept(server_socket, &fromAddr.sa, &fromAddr.len); 2043 n = accept(server_socket, &fromAddr.sa, &fromAddr.len);