diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-26 20:32:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-26 20:32:38 +0000 |
commit | ff9438ab94d19f0957a264ff79def01f9855b707 (patch) | |
tree | 81f9a6e2fd54b33548b7b60c7e3906b270f60c39 /src/net/connection.hpp | |
parent | cfabe4237b9298e63912972666a2ab25948ce2e9 (diff) | |
download | manaserv-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.hpp | 5 |
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. |