diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-15 12:28:19 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-11-15 12:28:19 +0100 |
commit | b2527a9eaa7082c50ce6230e79df88edbced9abb (patch) | |
tree | ee6ab3ddc487600690f16b48137a97c72c396218 /server/connection.cpp | |
parent | 2c6d82abe3c82041991066ca84ac067771756818 (diff) |
Implement server program flow around GameStart.
Diffstat (limited to 'server/connection.cpp')
-rw-r--r-- | server/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/connection.cpp b/server/connection.cpp index b64ae11..fd2d257 100644 --- a/server/connection.cpp +++ b/server/connection.cpp @@ -8,7 +8,7 @@ Connection::Connection(boost::asio::io_service& io_service) : socket(io_service) void Connection::handle_read(uint8_t* data, std::size_t bytes, const boost::system::error_code& error) { if(error) { - recv_callback = NULL; + recv_callback.clear(); return; } |