summaryrefslogtreecommitdiff
path: root/src/net/connection.hpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-26 20:32:38 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-26 20:32:38 +0000
commitff9438ab94d19f0957a264ff79def01f9855b707 (patch)
tree81f9a6e2fd54b33548b7b60c7e3906b270f60c39 /src/net/connection.hpp
parentcfabe4237b9298e63912972666a2ab25948ce2e9 (diff)
downloadmanaserv-ff9438ab94d19f0957a264ff79def01f9855b707.tar.gz
manaserv-ff9438ab94d19f0957a264ff79def01f9855b707.tar.bz2
manaserv-ff9438ab94d19f0957a264ff79def01f9855b707.tar.xz
manaserv-ff9438ab94d19f0957a264ff79def01f9855b707.zip
Some cleanup and an unsuccesful attempt at fixing a crash on map server exit
when there is no connection the account server (a different one surfaced).
Diffstat (limited to 'src/net/connection.hpp')
-rw-r--r--src/net/connection.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/connection.hpp b/src/net/connection.hpp
index 0cdb1fc0..ba36b2d3 100644
--- a/src/net/connection.hpp
+++ b/src/net/connection.hpp
@@ -37,7 +37,7 @@ class MessageOut;
class Connection
{
public:
- Connection(): mRemote(NULL) {}
+ Connection();
virtual ~Connection() {}
/**
@@ -59,7 +59,8 @@ class Connection
/**
* Sends a message to the remote host.
*/
- void send(MessageOut const &msg, bool reliable = true, unsigned channel = 0);
+ void send(MessageOut const &msg, bool reliable = true,
+ unsigned channel = 0);
/**
* Dispatches received messages to processMessage.