From afa6fd97a38ac76ce958dc34d739e7890b77d37d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 18 Jan 2008 01:29:28 +0000 Subject: [PATCH] max connections limit fix --- 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 25c14157f..c43ca41a7 100755 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -1085,7 +1085,7 @@ namespace detail } // don't allow more connections than the max setting - if (num_connections() > max_connections()) + if (num_connections() >= max_connections()) { #if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING) (*m_logger) << "number of connections limit exceeded (conns: "