From 53702b378ed56b7cbc9c357cbeeb1270663290b0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 16 Dec 2007 22:54:18 +0000 Subject: [PATCH] lt fix - fixed typo in plugin --- libtorrent/src/metadata_transfer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtorrent/src/metadata_transfer.cpp b/libtorrent/src/metadata_transfer.cpp index 50dc57ec7..228566ed8 100644 --- a/libtorrent/src/metadata_transfer.cpp +++ b/libtorrent/src/metadata_transfer.cpp @@ -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