diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-19 21:43:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-19 21:43:21 +0300 |
commit | 5dca117254162647f241f146d02fa21d88f55ee4 (patch) | |
tree | bd4d907a8910b521a7635aa8e528b7db70229f45 /src/net | |
parent | 7e275398daa1c98a34c89389c13538337dfac27a (diff) | |
download | manaverse-5dca117254162647f241f146d02fa21d88f55ee4.tar.gz manaverse-5dca117254162647f241f146d02fa21d88f55ee4.tar.bz2 manaverse-5dca117254162647f241f146d02fa21d88f55ee4.tar.xz manaverse-5dca117254162647f241f146d02fa21d88f55ee4.zip |
In ipc replace some other SDL_net calls into TcpNet.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ipc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp index 2a93631e4..629a069f5 100644 --- a/src/net/ipc.cpp +++ b/src/net/ipc.cpp @@ -63,7 +63,7 @@ bool IPC::init() if(TcpNet::resolveHost(&ip, nullptr, mPort) == -1) { - logger->log("IPC: resolveHost error: %s\n", SDLNet_GetError()); + logger->log("IPC: resolveHost error: %s\n", TcpNet::getError()); return false; } @@ -128,7 +128,7 @@ int IPC::acceptLoop(void *ptr) result = TcpNet::send(sock, respc, len); if (result < len) { - logger->log_r("IPC: send error: %s\n", SDLNet_GetError()); + logger->log_r("IPC: send error: %s\n", TcpNet::getError()); TcpNet::closeSocket(sock); continue; } |