git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not check for the same error twice (CID#147)
[vlc.git]
/
src
/
network
/
tcp.c
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 (;;)