fixed typo in previous check-in

This commit is contained in:
Arvid Norberg 2007-05-17 16:04:09 +00:00
parent 6d8cf1899c
commit d964abda7a
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ namespace libtorrent
entry& ent = *i;
++i;
try { ent.on_connect(i->ticket); } catch (std::exception&) {}
try { ent.on_connect(ent.ticket); } catch (std::exception&) {}
if (!free_slots()) break;
i = std::find_if(i, m_queue.end(), boost::bind(&entry::connecting, _1) == false);