httpd: reindent

This commit is contained in:
Rémi Denis-Courmont 2014-08-25 20:55:28 +03:00
parent e5f38003c7
commit 5fae41f376
1 changed files with 9 additions and 11 deletions

View File

@ -1546,19 +1546,17 @@ static void httpd_ClientRecv(httpd_client_t *cl)
if (!cl->query.p_body) {
switch (cl->query.i_proto) {
case HTTPD_PROTO_HTTP: {
const uint8_t sorry[] =
"HTTP/1.1 413 Request Entity Too Large\r\n\r\n";
httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
break;
}
const uint8_t sorry[] = "HTTP/1.1 413 Request Entity Too Large\r\n\r\n";
httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
break;
}
case HTTPD_PROTO_RTSP: {
const uint8_t sorry[] =
"RTSP/1.0 413 Request Entity Too Large\r\n\r\n";
httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
break;
}
const uint8_t sorry[] = "RTSP/1.0 413 Request Entity Too Large\r\n\r\n";
httpd_NetSend(cl, sorry, sizeof(sorry) - 1);
break;
}
default:
assert(0);
assert(0);
}
i_len = 0; /* drop */
}