mirror of https://github.com/aria2/aria2
2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/RequestGroup.cc (RequestGroup::createInitialCommand): Use empty() instead of size().pull/1/head
parent
5699567aea
commit
e40ae31748
|
@ -1,3 +1,8 @@
|
|||
2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
* src/RequestGroup.cc
|
||||
(RequestGroup::createInitialCommand): Use empty() instead of size().
|
||||
|
||||
2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
* Release 0.13.2
|
||||
|
|
|
@ -258,7 +258,7 @@ void RequestGroup::createInitialCommand(std::deque<Command*>& commands,
|
|||
std::deque<Command*> commands;
|
||||
DHTSetup().setup(commands, e, _option);
|
||||
e->addCommand(commands);
|
||||
if(btContext->getNodes().size() && DHTSetup::initialized()) {
|
||||
if(!btContext->getNodes().empty() && DHTSetup::initialized()) {
|
||||
DHTEntryPointNameResolveCommand* command =
|
||||
new DHTEntryPointNameResolveCommand(CUIDCounterSingletonHolder::instance()->newID(), e, btContext->getNodes());
|
||||
command->setTaskQueue(DHTRegistry::_taskQueue);
|
||||
|
|
Loading…
Reference in New Issue