Lower log level for benign socket errors 3249/head
authorShadowNinja <shadowninja@minetest.net>
Wed, 14 Oct 2015 06:21:41 +0000 (02:21 -0400)
committerkwolekr <kwolekr@minetest.net>
Wed, 14 Oct 2015 06:22:04 +0000 (02:22 -0400)
src/socket.cpp

index e82052f7728083430f32e3ed2bdd2d914045dc99..47fffcc4ddbf3a4661733a0e584871e75f1ce288 100644 (file)
@@ -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