forked from premiere/premiere-libtorrent
fixed warning
This commit is contained in:
parent
d2880ff648
commit
43d3fc9a28
|
@ -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: "
|
||||||
|
|
Loading…
Reference in New Issue