summaryrefslogtreecommitdiff
path: root/server/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/connection.h')
-rw-r--r--server/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/connection.h b/server/connection.h
index 248817b..b51a67f 100644
--- a/server/connection.h
+++ b/server/connection.h
@@ -20,7 +20,7 @@ class Connection : public ConnectionBase, public boost::enable_shared_from_this<
Connection(boost::asio::io_service& io_service);
//! Callback for when data is read.
- void handle_read(uint8_t* data, std::size_t bytes, const boost::system::error_code& error);
+ void handle_read(uint8_t* data, std::size_t bytes, const boost::system::error_code& error_code);
//! Callback for when data is written.
void handle_write();