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;