vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Mon Mar 19 09:56:10 2018 +0100| [eae87734de50a1b438551bdaa89e74d9c9e972fa] | committer: Hugo Beauzée-Luyssen
lua: Fix backward compatible host check (cherry picked from commit f46ef78361245b01539af76ec5a2b631dcc0f8cf) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=eae87734de50a1b438551bdaa89e74d9c9e972fa --- 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 1d84bbad94..04dd7650c8 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
