From 1834c5a73ecf97c33e385c5f837af72a48a8672d Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 29 May 2010 14:09:38 +0300 Subject: [PATCH] Put http alias back from LUA to native The LUA interface is unmaintained, enough waiting. Works around #3623, #3627, #3687, #3691. --- modules/control/http/http.c | 1 + modules/misc/lua/intf.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/control/http/http.c b/modules/control/http/http.c index bd6de15498..b73191686b 100644 --- a/modules/control/http/http.c +++ b/modules/control/http/http.c @@ -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 () diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c index 1ceca46551..86bec16972 100644 --- a/modules/misc/lua/intf.c +++ b/modules/misc/lua/intf.c @@ -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 ) -- 2.39.2