Commit 4e21e41a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

connect: handle EINTR

Though this should not happen as we are using non-blocking mode
parent ead20e7c
...@@ -161,7 +161,7 @@ int __net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port, ...@@ -161,7 +161,7 @@ int __net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
{ {
int timeout, val; int timeout, val;
if( net_errno != EINPROGRESS ) if( net_errno != EINPROGRESS && net_errno != EINTR )
{ {
msg_Err( p_this, "connection failed: %m" ); msg_Err( p_this, "connection failed: %m" );
goto next_ai; goto next_ai;
......
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