lt sync 2080

This commit is contained in:
Marcos Pinto 2008-03-16 22:43:27 +00:00
parent 2ffa5737bd
commit 096ea631a9
2 changed files with 3 additions and 1 deletions

View File

@ -230,6 +230,8 @@ private:
mutex_t::scoped_lock l(m_mutex);
INVARIANT_CHECK;
if (m_abort) return;
TORRENT_ASSERT(!m_history.empty());
ptime now(time_now());

View File

@ -1028,7 +1028,7 @@ namespace detail
if (m_alerts.should_post(alert::fatal))
{
std::string msg = "error accepting connection on '"
+ boost::lexical_cast<std::string>(ep) + "' " + ec.message();
+ boost::lexical_cast<std::string>(ep) + "' " + e.message();
m_alerts.post_alert(listen_failed_alert(ep, msg));
}
return;