summaryrefslogtreecommitdiff
path: root/src/net/connection.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-12-27 20:39:21 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-12-27 20:39:21 +0000
commitb2ef30efb59c8aa4df3bbaab376d46c583a40d98 (patch)
treebfa5f4b4dbb937b4413e79427bf1bbab8522dbdb /src/net/connection.cpp
parent8da32105732949b4b0273c718d118bcfae70a1c9 (diff)
downloadmana-client-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.gz
mana-client-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.bz2
mana-client-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.xz
mana-client-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.zip
Client-sided implementation of attacks
Diffstat (limited to 'src/net/connection.cpp')
-rw-r--r--src/net/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/connection.cpp b/src/net/connection.cpp
index a17bc727..4ce05d4a 100644
--- a/src/net/connection.cpp
+++ b/src/net/connection.cpp
@@ -48,7 +48,7 @@ bool Net::Connection::connect(const std::string &address, short port)
if (address.empty())
{
logger->log("Net::Connection::connect() got empty address!");
- mState = ERROR;
+ mState = NET_ERROR;
return false;
}
@@ -63,7 +63,7 @@ bool Net::Connection::connect(const std::string &address, short port)
if (!mConnection)
{
logger->log("Unable to initiate connection to the server.");
- mState = ERROR;
+ mState = NET_ERROR;
return false;
}