From 5e6ef9dcb0e87d14909c38d6a2ae2cf7cb6cdb46 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 16 Dec 2007 22:43:24 +0000 Subject: [PATCH] fixed typo in plugin --- src/metadata_transfer.cpp | 3 +-- src/ut_metadata.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/metadata_transfer.cpp b/src/metadata_transfer.cpp index 50dc57ec7..228566ed8 100644 --- a/src/metadata_transfer.cpp +++ b/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 diff --git a/src/ut_metadata.cpp b/src/ut_metadata.cpp index d3bb8b1ed..a6db7ea0c 100644 --- a/src/ut_metadata.cpp +++ b/src/ut_metadata.cpp @@ -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