From 102992da75edfcb671eb408bd801703a3f9137d0 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 5 Jan 2011 00:23:40 +0100 Subject: Replaced regex parser in telnet::Connection::parse_args() with a spirit-based parser. --- telnet_connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telnet_connection.h') diff --git a/telnet_connection.h b/telnet_connection.h index 68d652e..2109b05 100644 --- a/telnet_connection.h +++ b/telnet_connection.h @@ -16,7 +16,7 @@ namespace telnet { private: Connection(boost::asio::io_service& io_service); void handle_read(const boost::system::error_code& error, size_t bytes_transferred); - std::vector parse_args(std::string& line); + bool parse_args(std::string& line, std::vector& args); tcp::socket socket; boost::asio::streambuf buf; -- cgit v1.2.3