summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 04:18:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 04:18:31 +0300
commitea7ce2d1099761d4f10a1985cc1491dd306093fb (patch)
tree0ecc2ba76c949af2876ea3fe532d3796d4d0f666 /src/net
parentd5a295a5ef8338a6d292bb3c60bddcfb8baf17bc (diff)
downloadmanaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.gz
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.bz2
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.xz
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.zip
Replace SDL macro defines to SDL_GetError.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 063bf806f..dbfa2d5d6 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -97,7 +97,7 @@ int TcpNet::send(const TcpNet::Socket sock, const void *const data,
const char *TcpNet::getError()
{
- return SDLNet_GetError();
+ return SDL_GetError();
}
int TcpNet::resolveHost(IPaddress *const address, const char *const host,