mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
2009-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Now addUri XML-RPC method accepts BitTorrent Magnet URI. * src/download_helper.cc * src/download_helper.h * src/XmlRpcMethodImpl.cc
This commit is contained in:
parent
82d75a94d8
commit
d33c7c7db1
4 changed files with 23 additions and 14 deletions
|
@ -143,7 +143,7 @@ BDE AddUriXmlRpcMethod::process(const XmlRpcRequest& req, DownloadEngine* e)
|
|||
std::deque<SharedHandle<RequestGroup> > result;
|
||||
createRequestGroupForUri(result, requestOption, uris,
|
||||
/* ignoreForceSeq = */ true,
|
||||
/* ignoreNonURI = */ true);
|
||||
/* ignoreLocalPath = */ true);
|
||||
|
||||
if(!result.empty()) {
|
||||
return addRequestGroup(result.front(), e, posGiven, pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue