vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Mon Mar 19 09:56:10 2018 +0100| [f46ef78361245b01539af76ec5a2b631dcc0f8cf] | committer: Hugo Beauzée-Luyssen
lua: Fix backward compatible host check > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f46ef78361245b01539af76ec5a2b631dcc0f8cf --- share/lua/intf/modules/host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/lua/intf/modules/host.lua b/share/lua/intf/modules/host.lua index 7c99778319..6f85cceeba 100644 --- a/share/lua/intf/modules/host.lua +++ b/share/lua/intf/modules/host.lua @@ -254,7 +254,7 @@ function host() h:listen_stdio() else u = vlc.strings.url_parse( url ) - if url.host == nil then + if u.host == nil then u = vlc.strings.url_parse( "//" .. url ) end h:listen_tcp( u.host, u.port, (u.protocol == "telnet") ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
