[vlc-commits] commit: don't use empty string for user-agent (Ilkka Ollakka )

git at videolan.org git at videolan.org
Tue Jun 15 21:17:13 CEST 2010


vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jun 15 22:13:06 2010 +0300| [b0e55a6bc8b884d1513ad270419883df96a176b2] | committer: Ilkka Ollakka 

don't use empty string for user-agent
(cherry picked from commit e4de986a143b0fdf4ef04b2b5e5286192b3ae4c1)

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

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

 src/libvlc-module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 280db3f..efaccbc 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2055,7 +2055,7 @@ vlc_module_begin ()
                    DATA_PATH_LONGTEXT, true )
         change_need_restart ()
 
-    add_string( "user-agent", "(LibVLC "VERSION")", NULL, "", "", true )
+    add_string( "user-agent", "(LibVLC "VERSION")", NULL, NULL, NULL, true )
         change_safe ()
         change_private ()
 



More information about the vlc-commits mailing list