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 d4a4a25..f710612 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 )