git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff806c
)
Remoev reverse abstraction
author
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 20 Jan 2008 09:51:41 +0000
(09:51 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 20 Jan 2008 09:51:41 +0000
(09:51 +0000)
src/network/httpd.c
patch
|
blob
|
history
diff --git
a/src/network/httpd.c
b/src/network/httpd.c
index
f710612
..
5504b3b
100644
(file)
--- a/
src/network/httpd.c
+++ b/
src/network/httpd.c
@@
-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 )