[vlc-commits] commit: access_http: use the user agent provided by the user: fix #4162 ( Rémi Duraffort )

git at videolan.org git at videolan.org
Tue Sep 14 19:16:53 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Sep 14 19:16:00 2010 +0200| [911b23af510484805d35525eb99aec6afc3bb957] | committer: Rémi Duraffort 

access_http: use the user agent provided by the user: fix #4162

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

 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