From 43d3fc9a2884013304c390e18ef2d96fcc8a878b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 31 Oct 2007 12:04:05 +0000 Subject: [PATCH] fixed warning --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 7082a5792..5b348b26c 100755 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -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: "