diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-03 14:41:59 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-03 14:41:59 +0000 |
commit | ebaefeb62f81a63a12a888459daee3eaf5bb4e36 (patch) | |
tree | c99e425af40c0d31d434eeeb4dcb561b9dc8ea1b /src/net/connection.cpp | |
parent | 1bd3c1b9db33cb9dff2570f4224fae73970d5895 (diff) | |
download | mana-client-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.gz mana-client-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.bz2 mana-client-ebaefeb62f81a63a12a888459daee3eaf5bb4e36.tar.xz mana-client-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/connection.cpp')
-rw-r--r-- | src/net/connection.cpp | 8 |
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; } |