[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:19:07 CEST 2010


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

access_http: use the user agent provided by the user: fix #4162
(cherry picked from commit 911b23af510484805d35525eb99aec6afc3bb957)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 7a6746c..59aa2e6 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -1288,7 +1288,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