[vlc-commits] commit: access_http: use only the provided user agent. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Wed Jul 28 23:05:58 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 28 22:52:58 2010 +0200| [a869d39dc6f521e7bcb74bb8c359f37ce1582535] | committer: Rémi Duraffort 

access_http: use only the provided user agent.

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

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

diff --git a/modules/access/http.c b/modules/access/http.c
index 29da639..398c38b 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1285,7 +1285,7 @@ static int Request( access_t *p_access, uint64_t i_tell )
     }
     /* User Agent */
     net_Printf( p_access, p_sys->fd, pvs,
-                "User-Agent: %s LibVLC/"VERSION"\r\n",
+                "User-Agent: %s\r\n",
                 p_sys->psz_user_agent );
     /* Offset */
     if( p_sys->i_version == 1 && ! p_sys->b_continuous )



More information about the vlc-commits mailing list