Commit 1834c5a7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Put http alias back from LUA to native

The LUA interface is unmaintained, enough waiting.
Works around #3623, #3627, #3687, #3691.
parent 8b3ba346
...@@ -84,6 +84,7 @@ vlc_module_begin () ...@@ -84,6 +84,7 @@ vlc_module_begin ()
add_string ( "http-intf-crl", NULL, NULL, CRL_TEXT, CRL_LONGTEXT, true ) add_string ( "http-intf-crl", NULL, NULL, CRL_TEXT, CRL_LONGTEXT, true )
set_capability( "interface", 0 ) set_capability( "interface", 0 )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
add_shortcut( "http" )
vlc_module_end () vlc_module_end ()
......
...@@ -78,7 +78,6 @@ static const struct ...@@ -78,7 +78,6 @@ static const struct
{ "luatelnet", "telnet" }, { "luatelnet", "telnet" },
{ "telnet", "telnet" }, { "telnet", "telnet" },
{ "luahttp", "http" }, { "luahttp", "http" },
{ "http", "http" },
{ NULL, NULL } }; { NULL, NULL } };
static const char *WordInList( const char *psz_list, const char *psz_word ) static const char *WordInList( const char *psz_list, const char *psz_word )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment