httpd: reindent
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 17:55:28 +0000 (20:55 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 17:55:28 +0000 (20:55 +0300)
src/network/httpd.c

index e9a1820..f570587 100644 (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 */
                 }