]> git.sesse.net Git - vlc/commitdiff
Put http alias back from LUA to native
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 11:09:38 +0000 (14:09 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 11:09:38 +0000 (14:09 +0300)
The LUA interface is unmaintained, enough waiting.
Works around #3623, #3627, #3687, #3691.

modules/control/http/http.c
modules/misc/lua/intf.c

index bd6de15498a9cbd698181627ce4c45bb68688054..b73191686b1b7b42efd4b18a74356943de318e68 100644 (file)
@@ -84,6 +84,7 @@ vlc_module_begin ()
         add_string ( "http-intf-crl",  NULL, NULL, CRL_TEXT,  CRL_LONGTEXT,  true )
     set_capability( "interface", 0 )
     set_callbacks( Open, Close )
+    add_shortcut( "http" )
 vlc_module_end ()
 
 
index 1ceca46551fe0b26f09401a491ec5dca279b9c3f..86bec1697201126d94b44f35dac69b9098fd83aa 100644 (file)
@@ -78,7 +78,6 @@ static const struct
     { "luatelnet", "telnet" },
     { "telnet", "telnet" },
     { "luahttp", "http" },
-    { "http", "http" },
     { NULL, NULL } };
 
 static const char *WordInList( const char *psz_list, const char *psz_word )