fixed warning

This commit is contained in:
Arvid Norberg 2007-10-31 12:04:05 +00:00
parent d2880ff648
commit 43d3fc9a28
1 changed files with 1 additions and 1 deletions

View File

@ -1007,7 +1007,7 @@ namespace detail
} }
// don't allow more connections than the max setting // don't allow more connections than the max setting
if (m_connections.size() > max_connections()) if (num_connections() > max_connections())
{ {
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << "number of connections limit exceeded (conns: " (*m_logger) << "number of connections limit exceeded (conns: "