From c946afcfab5e02a9bb54ab343c3aed91d3f49b06 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 21 Aug 2007 04:11:00 +0000 Subject: [PATCH] fixed #133 --- src/peer_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 09fe0da85..c55d0f7e2 100755 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -1562,8 +1562,8 @@ namespace libtorrent boost::shared_ptr t = m_torrent.lock(); assert(t); - for (std::vector::iterator i = m_allowed_fast.begin() - , end(m_allowed_fast.end()); i != end; ++i) + for (std::vector::iterator i = m_allowed_fast.begin(); + i != m_allowed_fast.end(); ++i) { if (!t->have_piece(*i)) continue; *i = m_allowed_fast.back();