Commit 747e5690 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not check for the same error twice (CID#147)

parent 9087d31f
......@@ -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 (;;)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment