summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-03 14:41:59 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-03 14:41:59 +0000
commitebaefeb62f81a63a12a888459daee3eaf5bb4e36 (patch)
treec99e425af40c0d31d434eeeb4dcb561b9dc8ea1b /src/net
parent1bd3c1b9db33cb9dff2570f4224fae73970d5895 (diff)
downloadmana-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.gz
mana-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.bz2
mana-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.xz
mana-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.zip
Took out something that I committed by accident earlier. Sorry for blocking the
connect, I was just testing...
Diffstat (limited to 'src/net')
-rw-r--r--src/net/connection.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net/connection.cpp b/src/net/connection.cpp
index a016e07a..caaa0ce1 100644
--- a/src/net/connection.cpp
+++ b/src/net/connection.cpp
@@ -67,14 +67,6 @@ bool Net::Connection::connect(const std::string &address, short port)
return false;
}
- ENetEvent event;
- if (enet_host_service(mClient, &event, 10000) <= 0 ||
- event.type != ENET_EVENT_TYPE_CONNECT)
- {
- logger->log("Well....");
- return false;
- }
-
return true;
}