]> git.sesse.net Git - vlc/commitdiff
access_http: use the user agent provided by the user: fix #4162
authorRémi Duraffort <ivoire@videolan.org>
Tue, 14 Sep 2010 17:16:00 +0000 (19:16 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 14 Sep 2010 17:16:00 +0000 (19:16 +0200)
modules/access/http.c

index 29da639b21826d1c9b37236c8260a7e98fd4da8f..398c38b0d7ef16075571a3af06564913251cb49a 100644 (file)
@@ -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 )