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

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,
{
int timeout, val;
if( net_errno != EINPROGRESS )
if( net_errno != EINPROGRESS && net_errno != EINTR )
{
msg_Err( p_this, "connection failed: %m" );
goto next_ai;
......
Supports Markdown
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