fixed typo in plugin

This commit is contained in:
Arvid Norberg 2007-12-16 22:43:24 +00:00
parent 68a388da19
commit 5e6ef9dcb0
2 changed files with 2 additions and 3 deletions

View File

@ -95,7 +95,6 @@ namespace libtorrent { namespace
return ret;
}
struct metadata_plugin : torrent_plugin
{
metadata_plugin(torrent& t)
@ -217,7 +216,7 @@ namespace libtorrent { namespace
m_metadata_size = total_size;
}
void piece_pass(int)
void on_piece_pass(int)
{
// if we became a seed, copy the metadata from
// the torrent before it is deallocated

View File

@ -167,7 +167,7 @@ namespace libtorrent { namespace
m_metadata_size = total_size;
}
void piece_pass(int)
void on_piece_pass(int)
{
// if we became a seed, copy the metadata from
// the torrent before it is deallocated