diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-04-08 00:05:42 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-04-08 00:05:42 +0900 |
| commit | 7bc2a14d9f2f16bca991ecf22507b7ef0e8f4d6a (patch) | |
| tree | 651079e3f28515f87dfc936c1cb8326770b73b3a /src/RequestGroupMan.cc | |
| parent | ef86d760cc0d6fe464d3b8bcba4a6922410c587f (diff) | |
Fixed compile error without BitTorrent support
Diffstat (limited to 'src/RequestGroupMan.cc')
| -rw-r--r-- | src/RequestGroupMan.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<unsigned long>(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"), |
