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:
8689e8b
)
net_Write: fix polling
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 12 Oct 2008 12:26:18 +0000
(15:26 +0300)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 12 Oct 2008 12:26:42 +0000
(15:26 +0300)
src/network/io.c
patch
|
blob
|
history
diff --git
a/src/network/io.c
b/src/network/io.c
index
a0ece78
..
ed069b3
100644
(file)
--- a/
src/network/io.c
+++ b/
src/network/io.c
@@
-429,7
+429,7
@@
ssize_t __net_Write( vlc_object_t *p_this, int fd, const v_socket_t *p_vs,
ufd[0].revents = ufd[1].revents = 0;
- if (poll (ufd,
1
, -1) == -1)
+ if (poll (ufd,
sizeof (ufd) / sizeof (ufd[0])
, -1) == -1)
{
if (errno == EINTR)
continue;