diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-30 03:46:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-30 03:46:59 +0300 |
commit | ece00592ecd93f7a96db0ca82589d00846e2f938 (patch) | |
tree | c36bde1e1a46d11ee47438d0debaa8317cd0db6e /src/net/tmwa/network.cpp | |
parent | d14bb7a27ee23cc83b3af1db2f1976eaaa55d78a (diff) | |
parent | 2c3c118c03ece5cad2b73affffbcbbc5a5746c7a (diff) | |
download | plus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.gz plus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.bz2 plus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.xz plus-ece00592ecd93f7a96db0ca82589d00846e2f938.zip |
Merge branch 'master' into strippedstripped1.1.10.30
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 0af74c295..e26f48324 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -260,6 +260,7 @@ void Network::flush() SDL_mutexP(mMutex); ret = SDLNet_TCP_Send(mSocket, mOutBuffer, mOutSize); + DEBUGLOG("Send " + toString(mOutSize) + " bytes"); if (ret < static_cast<int>(mOutSize)) { setError("Error in SDLNet_TCP_Send(): " + @@ -427,6 +428,7 @@ void Network::receive() } else { + DEBUGLOG("Receive " + toString(ret) + " bytes"); mInSize += ret; if (mToSkip) { |