assert fix

This commit is contained in:
Arvid Norberg 2008-05-12 06:31:54 +00:00
parent 971ead4a44
commit 2fbe53f880
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ namespace libtorrent
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
error_code ec;
TORRENT_ASSERT(m_socket->remote_endpoint() == remote() || ec);
TORRENT_ASSERT(m_socket->remote_endpoint(ec) == remote() || ec);
m_logger = m_ses.create_log(remote().address().to_string(ec) + "_"
+ boost::lexical_cast<std::string>(remote().port()), m_ses.listen_port());
(*m_logger) << "*** INCOMING CONNECTION\n";