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

Don't print EAFNOSUPPORT error - refs #320

parent 4c7f9a48
......@@ -83,9 +83,11 @@ static int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
if( fd == -1 )
{
#if defined(WIN32) || defined(UNDER_CE)
if( WSAGetLastError ( ) != WSAEAFNOSUPPORT )
msg_Warn( p_this, "cannot create socket (%i)",
WSAGetLastError() );
#else
if( errno != EAFNOSUPPORT )
msg_Warn( p_this, "cannot create socket (%s)",
strerror( errno ) );
#endif
......
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