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

git at videolan.org git at videolan.org
Mon Aug 2 18:32:17 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  2 19:31:46 2010 +0300| [dbb30dece5ad3cd149400b3ca9c2857c6eb7cc4d] | committer: Rémi Denis-Courmont 

Revert "access_http: use only the provided user agent."

This reverts commit a869d39dc6f521e7bcb74bb8c359f37ce1582535.

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

 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 398c38b..29da639 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\r\n",
+                "User-Agent: %s LibVLC/"VERSION"\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