connection queue fix
This commit is contained in:
parent
f80f499135
commit
371b18d855
@ -159,7 +159,7 @@ namespace libtorrent
|
|||||||
ptime next_expire = max_time();
|
ptime next_expire = max_time();
|
||||||
ptime now = time_now();
|
ptime now = time_now();
|
||||||
for (std::list<entry>::iterator i = m_queue.begin();
|
for (std::list<entry>::iterator i = m_queue.begin();
|
||||||
i != m_queue.end();)
|
!m_queue.empty() && i != m_queue.end();)
|
||||||
{
|
{
|
||||||
if (i->connecting && i->expires < now)
|
if (i->connecting && i->expires < now)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user