diff options
Diffstat (limited to 'telnetd.cpp')
-rw-r--r-- | telnetd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telnetd.cpp b/telnetd.cpp index 9999d50..9129b8e 100644 --- a/telnetd.cpp +++ b/telnetd.cpp @@ -7,7 +7,7 @@ telnet::Server::Server(boost::asio::io_service& io_service, const tcp::endpoint& } void telnet::Server::start_accept() { - Connection::p new_connection = Connection::p(new Connection(acceptor_.io_service())); + Connection::p new_connection = Connection::p(new Connection(acceptor_.get_io_service())); acceptor_.async_accept(new_connection->socket, boost::bind(&Server::handle_accept, this, new_connection, boost::asio::placeholders::error)); } |