Commit 5fae41f3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

httpd: reindent

parent e5f38003
...@@ -1546,19 +1546,17 @@ static void httpd_ClientRecv(httpd_client_t *cl) ...@@ -1546,19 +1546,17 @@ static void httpd_ClientRecv(httpd_client_t *cl)
if (!cl->query.p_body) { if (!cl->query.p_body) {
switch (cl->query.i_proto) { switch (cl->query.i_proto) {
case HTTPD_PROTO_HTTP: { case HTTPD_PROTO_HTTP: {
const uint8_t sorry[] = const uint8_t sorry[] = "HTTP/1.1 413 Request Entity Too Large\r\n\r\n";
"HTTP/1.1 413 Request Entity Too Large\r\n\r\n"; httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
httpd_NetSend(cl, sorry, sizeof(sorry) - 1); break;
break; }
}
case HTTPD_PROTO_RTSP: { case HTTPD_PROTO_RTSP: {
const uint8_t sorry[] = const uint8_t sorry[] = "RTSP/1.0 413 Request Entity Too Large\r\n\r\n";
"RTSP/1.0 413 Request Entity Too Large\r\n\r\n"; httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
httpd_NetSend(cl, sorry, sizeof(sorry) - 1); break;
break; }
}
default: default:
assert(0); assert(0);
} }
i_len = 0; /* drop */ i_len = 0; /* drop */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment