From 8dd610bfbd73c346295d2f9ab9bddadee29c7112 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 15 Apr 2007 04:40:45 +0000 Subject: [PATCH] removed unnecessary fill of the have bitfield --- src/peer_connection.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 0d4005888..e13b46d47 100755 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -273,7 +273,6 @@ namespace libtorrent { throw std::runtime_error("seed to seed connection redundant, disconnecting"); } - std::fill(m_have_piece.begin(), m_have_piece.end(), true); m_num_pieces = num_pieces; t->peer_has_all(); if (!t->is_finished())