Fixed compile error without BitTorrent support

pull/16/merge
Tatsuhiro Tsujikawa 2012-04-08 00:05:42 +09:00
parent ef86d760cc
commit 7bc2a14d9f
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,7 @@ public:
static_cast<unsigned long>(nextGroups.size()))); static_cast<unsigned long>(nextGroups.size())));
e_->getRequestGroupMan()->insertReservedGroup(0, nextGroups); e_->getRequestGroupMan()->insertReservedGroup(0, nextGroups);
} }
#ifdef ENABLE_BITTORRENT
// For in-memory download (e.g., Magnet URI), the // For in-memory download (e.g., Magnet URI), the
// FileEntry::getPath() does not return actual file path, so // FileEntry::getPath() does not return actual file path, so
// we don't remove it. // we don't remove it.
@ -383,6 +384,7 @@ public:
} }
} }
} }
#endif // ENABLE_BITTORRENT
} else { } else {
A2_LOG_NOTICE A2_LOG_NOTICE
(fmt(_("Download GID#%lld not complete: %s"), (fmt(_("Download GID#%lld not complete: %s"),