min reconnect time fix

This commit is contained in:
Arvid Norberg 2008-06-16 07:46:40 +00:00
parent 3e000a3984
commit 41f241b476
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ namespace libtorrent
&& !compare_peer(candidate->second, pe, external_ip)) continue;
if (now - pe.connected <
seconds(pe.failcount * min_reconnect_time))
seconds((pe.failcount + 1) * min_reconnect_time))
continue;
candidate = current;