[vlc-devel] commit: Simplify. (Antoine Cellerier )

git version control git at videolan.org
Mon Jan 19 23:41:12 CET 2009


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Jan 19 22:43:14 2009 +0100| [be14f0f86e76f919ed0274a3d097e0cc1fa50dc7] | committer: Antoine Cellerier 

Simplify.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be14f0f86e76f919ed0274a3d097e0cc1fa50dc7
---

 share/lua/intf/http.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/intf/http.lua b/share/lua/intf/http.lua
index 1ff7fe7..dbf4caa 100644
--- a/share/lua/intf/http.lua
+++ b/share/lua/intf/http.lua
@@ -277,7 +277,7 @@ local u = vlc.net.url_parse( config.host or "localhost:8080" )
 h = vlc.httpd(u.host,u.port)
 load_dir( http_dir )
 
-while not die do die = vlc.misc.lock_and_wait() end -- everything happens in callbacks
+while not vlc.misc.lock_and_wait() do end -- everything happens in callbacks
 
 -- FIXME: We shouldn't need to do this ourselves.
 for i=1,#files do




More information about the vlc-devel mailing list