[vlc-commits] http: cosmetic

Rémi Denis-Courmont git at videolan.org
Wed Jul 18 12:43:49 CEST 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 12 17:13:34 2012 +0300| [263c19e68dda632af184e415869a1b36871a42b0] | committer: Christoph Miebach

http: cosmetic
(cherry picked from commit 43d5697733f19ae966de45fb1eb6b0b5589c6442)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=263c19e68dda632af184e415869a1b36871a42b0
---

 modules/access/http.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 9817bca..7c1ca8a 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1257,14 +1257,12 @@ static int Request( access_t *p_access, uint64_t i_tell )
         net_Printf( p_access, p_sys->fd, pvs, "Host: %s\r\n",
                     p_sys->url.psz_host );
     /* User Agent */
-    net_Printf( p_access, p_sys->fd, pvs,
-                "User-Agent: %s\r\n",
+    net_Printf( p_access, p_sys->fd, pvs, "User-Agent: %s\r\n",
                 p_sys->psz_user_agent );
     /* Referrer */
     if (p_sys->psz_referrer)
     {
-        net_Printf( p_access, p_sys->fd, pvs,
-                    "Referer: %s\r\n",
+        net_Printf( p_access, p_sys->fd, pvs, "Referer: %s\r\n",
                     p_sys->psz_referrer);
     }
     /* Offset */



More information about the vlc-commits mailing list