]> git.sesse.net Git - vlc/commitdiff
Simplify.
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 19 Jan 2009 21:43:14 +0000 (22:43 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 19 Jan 2009 21:43:14 +0000 (22:43 +0100)
share/lua/intf/http.lua

index 1ff7fe7a31d532a7518c395eeded3b59cc9c6e94..dbf4caaa8e4044f9b51983dddb8b63f7dcf42c25 100644 (file)
@@ -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