projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96cc5b3
)
Lower log level for benign socket errors
3249/head
author
ShadowNinja
<shadowninja@minetest.net>
Wed, 14 Oct 2015 06:21:41 +0000
(
02:21
-0400)
committer
kwolekr
<kwolekr@minetest.net>
Wed, 14 Oct 2015 06:22:04 +0000
(
02:22
-0400)
src/socket.cpp
patch
|
blob
|
history
diff --git
a/src/socket.cpp
b/src/socket.cpp
index e82052f7728083430f32e3ed2bdd2d914045dc99..47fffcc4ddbf3a4661733a0e584871e75f1ce288 100644
(file)
--- 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