* Remove stale lock files if it is held by the same hostname and the

pid is not running.

* Added rak::timer::from_seconds(uint32_t) and converted all uses to
this to avoid overflows etc.

* For each cycle through the tracker list without any successfull
connections, increase the timeout by 20 seconds.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@635 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-02-09 19:18:26 +00:00
parent 126bb511b8
commit e5c5f7ecb1
21 changed files with 89 additions and 31 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ hack_wstring(const std::string& src) {
void
WindowFileList::redraw() {
m_slotSchedule(this, (cachedTime + 10 * 1000000).round_seconds());
m_slotSchedule(this, (cachedTime + rak::timer::from_seconds(10)).round_seconds());
m_canvas->erase();
if (m_download->get_download().size_file_entries() == 0 ||