summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-19 21:43:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-19 21:43:21 +0300
commit5dca117254162647f241f146d02fa21d88f55ee4 (patch)
treebd4d907a8910b521a7635aa8e528b7db70229f45 /src
parent7e275398daa1c98a34c89389c13538337dfac27a (diff)
downloadmv-5dca117254162647f241f146d02fa21d88f55ee4.tar.gz
mv-5dca117254162647f241f146d02fa21d88f55ee4.tar.bz2
mv-5dca117254162647f241f146d02fa21d88f55ee4.tar.xz
mv-5dca117254162647f241f146d02fa21d88f55ee4.zip
In ipc replace some other SDL_net calls into TcpNet.
Diffstat (limited to 'src')
-rw-r--r--src/net/ipc.cpp4
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;
}