~ubuntu-branches/ubuntu/vivid/manaplus/vivid

« back to all changes in this revision

Viewing changes to src/net/ea/network.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2014-09-30 18:10:18 UTC
  • mfrom: (1.1.35)
  • Revision ID: package-import@ubuntu.com-20140930181018-pb73a0ogw29tjv8k
Tags: 1.4.9.27-1
* New upstream release.
* Bump Standards-Version to 3.9.6 (no changes required).

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
 
154
154
    SDL_mutexP(mMutexOut);
155
155
    const int ret = TcpNet::send(mSocket, mOutBuffer, mOutSize);
156
 
    DEBUGLOG(std::string("Send ").append(toString(mOutSize)).append(" bytes"));
 
156
/*
 
157
    if (logger)
 
158
    {
 
159
        logger->dlog(std::string("Send ").append(
 
160
            toString(mOutSize)).append(" bytes"));
 
161
    }
 
162
*/
157
163
    if (ret < static_cast<int>(mOutSize))
158
164
    {
159
165
        SDL_mutexV(mMutexOut);