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

Print exact error for select() to help tracking x264 threading issue

parent de653570
......@@ -2303,7 +2303,11 @@ static void httpd_HostThread( httpd_host_t *host )
if( i_ret == -1 && errno != EINTR )
{
msg_Warn( host, "cannot select sockets" );
#if defined(WIN32) || defined(UNDER_CE)
msg_Warn( host, "cannot select sockets (%d)", WSAGetLastError( ) );
#else
msg_Warn( host, "cannot select sockets : %s", strerror( errno ) );
#endif
msleep( 1000 );
continue;
}
......
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