From 7bc2a14d9f2f16bca991ecf22507b7ef0e8f4d6a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 8 Apr 2012 00:05:42 +0900 Subject: [PATCH] Fixed compile error without BitTorrent support --- src/RequestGroupMan.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RequestGroupMan.cc b/src/RequestGroupMan.cc index f315b944..7a084cb1 100644 --- a/src/RequestGroupMan.cc +++ b/src/RequestGroupMan.cc @@ -362,6 +362,7 @@ public: static_cast(nextGroups.size()))); e_->getRequestGroupMan()->insertReservedGroup(0, nextGroups); } +#ifdef ENABLE_BITTORRENT // For in-memory download (e.g., Magnet URI), the // FileEntry::getPath() does not return actual file path, so // we don't remove it. @@ -383,6 +384,7 @@ public: } } } +#endif // ENABLE_BITTORRENT } else { A2_LOG_NOTICE (fmt(_("Download GID#%lld not complete: %s"),