Useless vlc_object_wait() usage
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 12 Jan 2009 18:06:03 +0000 (20:06 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 12 Jan 2009 18:06:03 +0000 (20:06 +0200)
src/network/httpd.c

index 444a727..4a1ddd0 100644 (file)
@@ -2462,11 +2462,7 @@ retry:
 
         vlc_object_lock( host );
         if( ufd[nfd - 1].revents )
-        {
             b_die = !vlc_object_alive( host );
-            if( !b_die )
-                vlc_object_wait( host );
-        }
         vlc_object_unlock( host );
 
         /* Handle client sockets */