From 32c2c38737d72dae77431c799a0293ddf28a1486 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 16 Mar 2008 12:33:39 +0000 Subject: [PATCH] fixed incorrect error message in async_accept --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 8afd870e6..1360688db 100755 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -632,7 +632,7 @@ namespace aux { if (m_alerts.should_post(alert::fatal)) { std::string msg = "error accepting connection on '" - + boost::lexical_cast(ep) + "' " + ec.message(); + + boost::lexical_cast(ep) + "' " + e.message(); m_alerts.post_alert(listen_failed_alert(ep, msg)); } return;