mirror of https://github.com/aria2/aria2
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use gatherProgress() in TellActiveXmlRpcMethod::process(). * src/XmlRpcMethodImpl.ccpull/1/head
parent
3e2ccbf359
commit
1312c535be
|
@ -1,3 +1,8 @@
|
|||
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use gatherProgress() in TellActiveXmlRpcMethod::process().
|
||||
* src/XmlRpcMethodImpl.cc
|
||||
|
||||
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added changeGlobalOption command. Currently,
|
||||
|
|
|
@ -441,13 +441,7 @@ BDE TellActiveXmlRpcMethod::process
|
|||
groups.begin(); i != groups.end(); ++i) {
|
||||
BDE entryDict = BDE::dict();
|
||||
entryDict["status"] = BDE("active");
|
||||
gatherProgressCommon(entryDict, *i);
|
||||
|
||||
SharedHandle<BtContext> btctx =
|
||||
dynamic_pointer_cast<BtContext>((*i)->getDownloadContext());
|
||||
if(!btctx.isNull()) {
|
||||
gatherProgressBitTorrent(entryDict, btctx);
|
||||
}
|
||||
gatherProgress(entryDict, *i, e);
|
||||
list << entryDict;
|
||||
}
|
||||
return list;
|
||||
|
|
Loading…
Reference in New Issue