2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Call DownloadContext::setOwnerRequestGroup() in
	RequestGroup::setDownloadContext().
	* src/BtDependency.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/download_helper.cc
	* test/DefaultBtMessageDispatcherTest.cc
	* test/DefaultExtensionMessageFactoryTest.cc
	* test/HandshakeExtensionMessageTest.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2009-11-28 10:12:04 +00:00
parent 339795311b
commit 88bfe8b084
8 changed files with 26 additions and 10 deletions

View file

@ -95,7 +95,6 @@ void HandshakeExtensionMessageTest::testDoReceivedAction()
SharedHandle<Option> op(new Option());
RequestGroup rg(op);
rg.setDownloadContext(dctx);
dctx->setOwnerRequestGroup(&rg);
BDE attrs = BDE::dict();
dctx->setAttribute(bittorrent::BITTORRENT, attrs);