summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-10-17 18:04:37 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-10-17 18:05:08 +0200
commit17bc71fc3e19b28fd39104a480d70e25bb3f4ac2 (patch)
tree2bdd68ce78343c72c41e13b045ff8a0f1370ef19 /src/net/ea
parentae8c3e89728ddc1f8e91e6e54ded039fd1fa600f (diff)
downloadmana-client-17bc71fc3e19b28fd39104a480d70e25bb3f4ac2.tar.gz
mana-client-17bc71fc3e19b28fd39104a480d70e25bb3f4ac2.tar.bz2
mana-client-17bc71fc3e19b28fd39104a480d70e25bb3f4ac2.tar.xz
mana-client-17bc71fc3e19b28fd39104a480d70e25bb3f4ac2.zip
Changed the "SDLNet_TCP_Recv()" error message to something more understandable for the user.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 68bdc870..7ce85aa4 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -401,7 +401,7 @@ void Network::receive()
}
else if (ret < 0)
{
- setError("Error in SDLNet_TCP_Recv(): " +
+ setError("Connection to server terminated: " +
std::string(SDLNet_GetError()));
}
else {