From a42189af62bab86a7aaa39ee3f8f08cd834b0d39 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 23 Sep 2006 21:23:24 +0000 Subject: [PATCH] removed out dated comments --- src/bt_peer_connection.cpp | 4 ---- src/session.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/bt_peer_connection.cpp b/src/bt_peer_connection.cpp index 779eaa78a..738896170 100755 --- a/src/bt_peer_connection.cpp +++ b/src/bt_peer_connection.cpp @@ -1306,10 +1306,6 @@ namespace libtorrent m_statistics.received_bytes(0, bytes_transferred); if (!packet_finished()) break; - // the use of this bit collides with Mainline - // the new way of identifying support for the extensions - // is in the peer_id - // MassaRoddel #ifdef TORRENT_VERBOSE_LOGGING for (int i=0; i < 8; ++i) diff --git a/src/session.cpp b/src/session.cpp index 4f27bd6eb..b4f06e450 100755 --- a/src/session.cpp +++ b/src/session.cpp @@ -479,7 +479,6 @@ namespace libtorrent { namespace detail { *i = printable[rand() % (sizeof(printable)-1)]; } - // this says that we support the extensions m_timer.expires_from_now(seconds(1)); m_timer.async_wait(bind(&session_impl::second_tick, this, _1)); @@ -1180,9 +1179,6 @@ namespace libtorrent assert(i < num_supported_extensions); session_impl::mutex_t::scoped_lock l(m_impl.m_mutex); m_impl.m_extension_enabled[i] = true; - -// // this says that we support the extensions -// std::memcpy(&m_impl.m_peer_id[17], "ext", 3); } std::vector session::get_torrents()