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
(from parent 1:
9087d31
)
Do not check for the same error twice (CID#147)
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 5 Oct 2008 14:22:46 +0000
(17:22 +0300)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 5 Oct 2008 14:22:46 +0000
(17:22 +0300)
src/network/tcp.c
patch
|
blob
|
history
diff --git
a/src/network/tcp.c
b/src/network/tcp.c
index
fe27375
..
814808d
100644
(file)
--- a/
src/network/tcp.c
+++ b/
src/network/tcp.c
@@
-279,9
+279,6
@@
int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait )
int timeout = (i_wait < 0) ? -1 : i_wait / 1000;
int evfd = vlc_object_waitpipe (p_this);
- if (evfd == -1)
- return -1;
-
assert( pi_fd != NULL );
for (;;)