mirror of https://github.com/aria2/aria2
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added "length" key to getFiles response. * src/XmlRpcMethodImpl.ccpull/1/head
parent
bab4b09a36
commit
98666d33b9
|
@ -1,3 +1,8 @@
|
|||
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added "length" key to getFiles response.
|
||||
* src/XmlRpcMethodImpl.cc
|
||||
|
||||
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Moved --no-netrc option from ftp option section to http/ftp option
|
||||
|
|
|
@ -261,6 +261,7 @@ static void createFileEntry(BDE& files, InputIterator first, InputIterator last)
|
|||
entry["index"] = Util::uitos(index);
|
||||
entry["path"] = (*first)->getPath();
|
||||
entry["selected"] = (*first)->isRequested()?BDE("true"):BDE("false");
|
||||
entry["length"] = Util::uitos((*first)->getLength());
|
||||
files << entry;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue