From: RĂ©mi Duraffort Date: Tue, 14 Sep 2010 17:16:00 +0000 (+0200) Subject: access_http: use the user agent provided by the user: fix #4162 X-Git-Tag: 1.2.0-pre1~5272 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=911b23af510484805d35525eb99aec6afc3bb957 access_http: use the user agent provided by the user: fix #4162 --- diff --git a/modules/access/http.c b/modules/access/http.c index 29da639b21..398c38b0d7 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 )