mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-22 23:58:48 -05:00
Lower log level for benign socket errors
This commit is contained in:
parent
96cc5b34fe
commit
4236792b87
@ -571,9 +571,8 @@ bool UDPSocket::WaitData(int timeout_ms)
|
||||
int e = WSAGetLastError();
|
||||
dstream << (int) m_handle << ": WSAGetLastError()="
|
||||
<< e << std::endl;
|
||||
if(e == 10004 /* = WSAEINTR */ || e == 10009 /*WSAEBADF*/)
|
||||
{
|
||||
dstream << "WARNING: Ignoring WSAEINTR/WSAEBADF." << std::endl;
|
||||
if (e == 10004 /* WSAEINTR */ || e == 10009 /* WSAEBADF */) {
|
||||
infostream << "Ignoring WSAEINTR/WSAEBADF." << std::endl;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user