mirror of https://github.com/aria2/aria2
2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that waiting download unintentionally starts when URIs are added to it using aria2.changeUri XML-RPC method. This also fixes the bug that causes segmentation fault when adding URIs to waiting download, which is a regression introduced by the previous change made to src/XmlRpcMethodImpl.cc * src/XmlRpcMethodImpl.ccpull/1/head
parent
feedb92ed7
commit
f9c852c475
|
@ -1,3 +1,12 @@
|
|||
2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed the bug that waiting download unintentionally starts when
|
||||
URIs are added to it using aria2.changeUri XML-RPC method. This
|
||||
also fixes the bug that causes segmentation fault when adding URIs
|
||||
to waiting download, which is a regression introduced by the
|
||||
previous change made to src/XmlRpcMethodImpl.cc
|
||||
* src/XmlRpcMethodImpl.cc
|
||||
|
||||
2010-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed compile error with g++-4.4 on FreeBSD.
|
||||
|
|
|
@ -996,7 +996,7 @@ BDE ChangeUriXmlRpcMethod::process
|
|||
}
|
||||
}
|
||||
}
|
||||
if(addcount) {
|
||||
if(addcount && !group->getPieceStorage().isNull()) {
|
||||
std::vector<Command*> commands;
|
||||
group->createNextCommand(commands, e);
|
||||
e->addCommand(commands);
|
||||
|
|
Loading…
Reference in New Issue