Commit f1dac78a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HTTP access: fix User-Agent syntax

RFC2616 requires a space-separated list of names[/versions]
parent 002135d9
......@@ -123,7 +123,7 @@ vlc_module_begin ()
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true )
change_safe()
add_string( "http-user-agent", PACKAGE_NAME" "PACKAGE_VERSION, NULL,
add_string( "http-user-agent", PACKAGE_NAME"/"PACKAGE_VERSION, NULL,
AGENT_TEXT, AGENT_LONGTEXT, true )
change_safe()
add_bool( "http-reconnect", false, NULL, RECONNECT_TEXT,
......
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