Commit 911b23af authored by Rémi Duraffort's avatar Rémi Duraffort

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

parent 639c195b
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment