From 5dca117254162647f241f146d02fa21d88f55ee4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Jul 2014 21:43:21 +0300 Subject: In ipc replace some other SDL_net calls into TcpNet. --- src/net/ipc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2