fixed download bug affecting web seeds

This commit is contained in:
Arvid Norberg 2008-04-29 03:12:14 +00:00
parent c3b60f1b8f
commit 441aacae32
1 changed files with 1 additions and 0 deletions

View File

@ -1415,6 +1415,7 @@ namespace libtorrent
return;
}
disk_buffer_holder holder(m_ses, buffer);
std::memcpy(buffer, data, p.length);
incoming_piece(p, holder);
}