[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:45:57 CEST 2010


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

HTTP access: fix User-Agent syntax

RFC2616 requires a space-separated list of names[/versions]

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

 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 8f5cfbc..9f505d0 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