From 22cd8ded9107e054634f56acec0c06e82165ea2d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 5 Jun 2007 01:25:46 +0000 Subject: [PATCH] fixed semantics in http_connection --- src/http_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_connection.cpp b/src/http_connection.cpp index ba1592898..53798cae1 100644 --- a/src/http_connection.cpp +++ b/src/http_connection.cpp @@ -237,7 +237,7 @@ void http_connection::on_read(asio::error_code const& e data = m_parser.get_body().begin; size = m_parser.get_body().left(); } - m_handler(asio::error_code(), m_parser, data, size); + m_handler(e, m_parser, data, size); return; }