summaryrefslogtreecommitdiff
path: root/src/DefaultBtAnnounce.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-20 12:12:18 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-20 12:12:18 +0000
commit9e9fb885d9b70299d24beabd2b7a574199edace0 (patch)
treefdf022223e4e9603cfbc24fbe53f24401ef69e19 /src/DefaultBtAnnounce.cc
parentad37c0672cd98a45772bb5cc137fd5956e258fec (diff)
2010-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed PeerListProcessor. Its functionality is now moved to bittorrent_helper.h * src/DefaultBtAnnounce.cc * src/Makefile.am * src/PeerListProcessor.h: Removed * src/UTPexExtensionMessage.cc * src/bittorrent_helper.cc * src/bittorrent_helper.h * test/BittorrentHelperTest.cc * test/Makefile.am * test/PeerListProcessorTest.cc: Removed
Diffstat (limited to 'src/DefaultBtAnnounce.cc')
-rw-r--r--src/DefaultBtAnnounce.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DefaultBtAnnounce.cc b/src/DefaultBtAnnounce.cc
index 416bb0c7..f9bb0deb 100644
--- a/src/DefaultBtAnnounce.cc
+++ b/src/DefaultBtAnnounce.cc
@@ -35,7 +35,6 @@
#include "DefaultBtAnnounce.h"
#include "LogFactory.h"
#include "Logger.h"
-#include "PeerListProcessor.h"
#include "util.h"
#include "prefs.h"
#include "DlAbortEx.h"
@@ -277,7 +276,7 @@ DefaultBtAnnounce::processAnnounceResponse(const unsigned char* trackerResponse,
} else {
if(!_btRuntime->isHalt() && _btRuntime->lessThanMinPeers()) {
std::vector<SharedHandle<Peer> > peers;
- PeerListProcessor().extractPeer(peerData, std::back_inserter(peers));
+ bittorrent::extractPeer(peerData, std::back_inserter(peers));
_peerStorage->addPeer(peers);
}
}