Commit 5971b09a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix previous commit

parent e59554f4
...@@ -263,11 +263,10 @@ next_ai: /* failure */ ...@@ -263,11 +263,10 @@ next_ai: /* failure */
*****************************************************************************/ *****************************************************************************/
int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait ) int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait )
{ {
if( pi_fd == NULL )
return -1;
vlc_bool_t b_block = (i_wait < 0); vlc_bool_t b_block = (i_wait < 0);
assert( pi_fd != NULL );
while( !p_this->b_die ) while( !p_this->b_die )
{ {
unsigned n = 0; unsigned n = 0;
......
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