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:
Tatsuhiro Tsujikawa 2009-11-27 14:04:29 +00:00
parent 82d75a94d8
commit d33c7c7db1
4 changed files with 23 additions and 14 deletions

View file

@ -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);