forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
32224419db
commit
475b0d0a6b
|
@ -674,6 +674,7 @@ namespace libtorrent
|
||||||
peer* p = find_connect_candidate();
|
peer* p = find_connect_candidate();
|
||||||
if (p==0) return false;
|
if (p==0) return false;
|
||||||
assert(!p->banned);
|
assert(!p->banned);
|
||||||
|
assert(!p->connection);
|
||||||
|
|
||||||
p->connection = &m_torrent->connect_to_peer(p->ip, p->id);
|
p->connection = &m_torrent->connect_to_peer(p->ip, p->id);
|
||||||
p->connected = boost::posix_time::second_clock::local_time();
|
p->connected = boost::posix_time::second_clock::local_time();
|
||||||
|
|
Loading…
Reference in New Issue