]> git.sesse.net Git - vlc/commitdiff
Remoev reverse abstraction
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 20 Jan 2008 09:51:41 +0000 (09:51 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 20 Jan 2008 09:51:41 +0000 (09:51 +0000)
src/network/httpd.c

index f710612753bf9b6c3c3e91dcc7819d7c66a1287f..5504b3b76a4ea1c564f69ef7041e7df505eb241f 100644 (file)
@@ -2516,9 +2516,8 @@ static void httpd_HostThread( httpd_host_t *host )
                 continue;
 
             /* */
-            int kludge[] = { ufd[nfd].fd, -1 };
-            int fd = net_Accept( host, kludge, 0 );
-            if( fd < 0 )
+            int fd = accept (ufd[nfd].fd, NULL, NULL);
+            if (fd == -1)
                 continue;
 
             if( p_tls != NULL )