summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-07-17 14:31:36 +0200
committerKess Vargavind <vargavind@gmail.com>2009-07-17 15:21:53 +0200
commit8b0a65f00c0e5afb2c177462acd30013afa99b64 (patch)
treee34427ff57870c0e96065ccdacd296e9dddd445a /src/net/ea
parent18aaa873abcaa617bbd296f73138d062423662b8 (diff)
downloadmana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.gz
mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.bz2
mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.xz
mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.zip
Various gettext fixes
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/network.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 956d7877..c6bc712c 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -318,9 +318,9 @@ bool Network::realConnect()
if (SDLNet_ResolveHost(&ipAddress, mAddress.c_str(), mPort) == -1)
{
- std::string error = "Unable to resolve host \"" + mAddress + "\"";
- setError(error);
- logger->log("SDLNet_ResolveHost: %s", error.c_str());
+ std::string errorMessage = "Unable to resolve host \"" + mAddress + "\"";
+ setError(errorMessage);
+ logger->log("SDLNet_ResolveHost: %s", errorMessage.c_str());
return false;
}