[vlc-commits] httpd: reindent

Rémi Denis-Courmont git at videolan.org
Mon Aug 25 19:56:08 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 25 20:55:28 2014 +0300| [5fae41f376d61ba2acd711e16c77dc502bbc0c5d] | committer: Rémi Denis-Courmont

httpd: reindent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fae41f376d61ba2acd711e16c77dc502bbc0c5d
---

 src/network/httpd.c |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index e9a1820..f570587 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -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 */
                 }



More information about the vlc-commits mailing list