msvc build fixes and warning fixes

This commit is contained in:
Arvid Norberg
2008-04-05 21:18:27 +00:00
parent 7ebdc27779
commit 35fd9aec61
17 changed files with 74 additions and 64 deletions

View File

@@ -559,7 +559,9 @@ namespace libtorrent
if (m_torrent->has_picker())
p = &m_torrent->picker();
#ifndef TORRENT_DISABLE_DHT
bool pinged = false;
#endif
ptime now = time_now();
// remove old disconnected peers from the list