summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 18:10:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 18:10:08 +0300
commit9c50afdf192d9407eb72e3fdcd1844f9b5ae9885 (patch)
tree4bdd836b0516b2a312bb2a1d482e6c7b3b362192
parent0561af8232b50071676ae18d5e78ba43b15bff94 (diff)
downloadmanaverse-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.gz
manaverse-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.bz2
manaverse-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.xz
manaverse-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.zip
Disable logging sent bytes count.
-rw-r--r--src/net/ea/network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index b64ae68cb..49337e4d9 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -153,11 +153,13 @@ void Network::flush()
SDL_mutexP(mMutexOut);
const int ret = TcpNet::send(mSocket, mOutBuffer, mOutSize);
+/*
if (logger)
{
logger->dlog(std::string("Send ").append(
toString(mOutSize)).append(" bytes"));
}
+*/
if (ret < static_cast<int>(mOutSize))
{
SDL_mutexV(mMutexOut);