diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 18:10:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 18:10:08 +0300 |
commit | 9c50afdf192d9407eb72e3fdcd1844f9b5ae9885 (patch) | |
tree | 4bdd836b0516b2a312bb2a1d482e6c7b3b362192 /src/net | |
parent | 0561af8232b50071676ae18d5e78ba43b15bff94 (diff) | |
download | mv-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.gz mv-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.bz2 mv-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.tar.xz mv-9c50afdf192d9407eb72e3fdcd1844f9b5ae9885.zip |
Disable logging sent bytes count.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/network.cpp | 2 |
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); |