*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-01-05 01:45:57 +00:00
parent b637368c65
commit d43380d579
3 changed files with 2 additions and 8 deletions

View File

@ -889,10 +889,6 @@ namespace libtorrent
extension_list.dict()[extension_names[i]] = msg_index; extension_list.dict()[extension_names[i]] = msg_index;
} }
#ifndef NDEBUG
extension_list.print(std::cout);
#endif
// make room for message size // make room for message size
const int msg_size_pos = m_send_buffer.size(); const int msg_size_pos = m_send_buffer.size();
m_send_buffer.resize(msg_size_pos + 4); m_send_buffer.resize(msg_size_pos + 4);

View File

@ -885,8 +885,6 @@ namespace libtorrent {
namespace fs = boost::filesystem; namespace fs = boost::filesystem;
std::cout << "allocating pieces...\n";
std::vector<int>::iterator iter std::vector<int>::iterator iter
= m_unallocated_slots.begin(); = m_unallocated_slots.begin();
std::vector<int>::iterator end_iter std::vector<int>::iterator end_iter

View File

@ -310,8 +310,8 @@ namespace libtorrent
m_picker.get_downloaders(downloaders, index); m_picker.get_downloaders(downloaders, index);
#ifndef NDEBUG #ifndef NDEBUG
std::cout << "hash-test failed. Some of these peers sent invalid data:\n"; // std::cout << "hash-test failed. Some of these peers sent invalid data:\n";
std::copy(downloaders.begin(), downloaders.end(), std::ostream_iterator<peer_id>(std::cout, "\n")); // std::copy(downloaders.begin(), downloaders.end(), std::ostream_iterator<peer_id>(std::cout, "\n"));
#endif #endif
// decrease the trust point of all peers that sent // decrease the trust point of all peers that sent