workaround for sparse files issue on Windows vista

This commit is contained in:
Arvid Norberg
2009-01-05 01:08:09 +00:00
parent f1d229aae6
commit d07ccaf6b8
9 changed files with 110 additions and 1 deletions

View File

@@ -1382,7 +1382,8 @@ int main(int ac, char* av[])
out << " peers: " << esc("37") << s.num_peers << esc("0") << " (" << esc("37") << s.connect_candidates << esc("0") << ") "
<< "seeds: " << esc("37") << s.num_seeds << esc("0") << " "
<< "distributed copies: " << esc("37") << s.distributed_copies << esc("0")
// << " magnet-link: " << make_magnet_uri(h) << "\n"
<< " sparse regions: " << s.sparse_regions
// << " magnet-link: " << make_magnet_uri(h) << "\n"
<< " download: " << esc("32") << (s.download_rate > 0 ? add_suffix(s.download_rate) + "/s ": " ") << esc("0");
boost::posix_time::time_duration t = s.next_announce;
out << " next announce: " << esc("37")