fixed warning
This commit is contained in:
@@ -1007,7 +1007,7 @@ namespace detail
|
||||
}
|
||||
|
||||
// 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)
|
||||
(*m_logger) << "number of connections limit exceeded (conns: "
|
||||
|
Reference in New Issue
Block a user