diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-10-14 02:21:41 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-10-14 02:22:04 -0400 |
commit | 4236792b87a68819c56f3b6f8bd44f48058dec57 (patch) | |
tree | c5dcac900214e1484733576cdc6db5e9f8cbfbfb | |
parent | 96cc5b34fe0151d2a1498eaaafb205757db346c4 (diff) | |
download | minetest-4236792b87a68819c56f3b6f8bd44f48058dec57.tar.gz minetest-4236792b87a68819c56f3b6f8bd44f48058dec57.tar.bz2 minetest-4236792b87a68819c56f3b6f8bd44f48058dec57.zip |
Lower log level for benign socket errors
-rw-r--r-- | src/socket.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index e82052f77..47fffcc4d 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -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 |