]> git.sesse.net Git - vlc/commitdiff
small fix for http-streaming, don't set b_die to true in beginning if
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 28 Dec 2007 11:36:57 +0000 (11:36 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 28 Dec 2007 11:36:57 +0000 (11:36 +0000)
object is alive.

src/network/httpd.c

index d4a4a259df8097750e4b46f4fd9fd75c4f76e931..f710612753bf9b6c3c3e91dcc7819d7c66a1287f 100644 (file)
@@ -2035,7 +2035,7 @@ static void httpd_HostThread( httpd_host_t *host )
 
     vlc_object_lock( host );
     evfd = vlc_object_waitpipe( VLC_OBJECT( host ) );
-    b_die = vlc_object_alive( host );
+    b_die = !vlc_object_alive( host );
     vlc_object_unlock( host );
 
     while( !b_die )