Browse Source

Removed 3rd argument auxUris of createBtMagnetRequestGroup().

Tatsuhiro Tsujikawa 15 years ago
parent
commit
c81dcd80ea
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/download_helper.cc

+ 2 - 3
src/download_helper.cc

@@ -290,8 +290,7 @@ createBtRequestGroup(const std::string& torrentFilePath,
 namespace {
 SharedHandle<RequestGroup>
 createBtMagnetRequestGroup(const std::string& magnetLink,
-                           const SharedHandle<Option>& option,
-                           const std::vector<std::string>& auxUris)
+                           const SharedHandle<Option>& option)
 {
   SharedHandle<RequestGroup> rg(new RequestGroup(option));
   SharedHandle<DownloadContext> dctx
@@ -393,7 +392,7 @@ public:
     else if(detector_.guessTorrentMagnet(uri)) {
       try {
         SharedHandle<RequestGroup> group =
-          createBtMagnetRequestGroup(uri, option_, std::vector<std::string>());
+          createBtMagnetRequestGroup(uri, option_);
         requestGroups_.push_back(group);
       } catch(RecoverableException& e) {
         // error occurred while parsing torrent file.