summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-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,