From f1dac78a4a5b3fa3f081f8ee29b1abdf27d20fca Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 29 May 2010 18:43:48 +0300 Subject: [PATCH] HTTP access: fix User-Agent syntax RFC2616 requires a space-separated list of names[/versions] --- modules/access/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/http.c b/modules/access/http.c index 8f5cfbcc77..9f505d0248 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -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, -- 2.11.4.GIT