mirror of https://github.com/aria2/aria2
Fixed compile error without BitTorrent support
parent
ef86d760cc
commit
7bc2a14d9f
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue