[vlc-commits] commit: HTTP access: fix User-Agent syntax ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat May 29 17:46:15 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 29 18:43:48 2010 +0300| [e84c803ae03d062852e32f2f786ec2fb4e32676d] | committer: Rémi Denis-Courmont 

HTTP access: fix User-Agent syntax

RFC2616 requires a space-separated list of names[/versions]
(cherry picked from commit f1dac78a4a5b3fa3f081f8ee29b1abdf27d20fca)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=e84c803ae03d062852e32f2f786ec2fb4e32676d
---

 modules/access/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index a23a2f8..3d82e87 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,



More information about the vlc-commits mailing list