diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 04:18:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 04:18:31 +0300 |
commit | ea7ce2d1099761d4f10a1985cc1491dd306093fb (patch) | |
tree | 0ecc2ba76c949af2876ea3fe532d3796d4d0f666 /src/net | |
parent | d5a295a5ef8338a6d292bb3c60bddcfb8baf17bc (diff) | |
download | manaplus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.gz manaplus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.bz2 manaplus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.xz manaplus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.zip |
Replace SDL macro defines to SDL_GetError.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/sdltcpnet.cpp | 2 |
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, |