mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
Adding framework for an option parser.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@448 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -180,6 +180,7 @@ Manager::create_final(std::istream* s) {
|
||||
|
||||
void
|
||||
Manager::setup_download(Download* d) {
|
||||
// These should be in m_defaultSettings.
|
||||
d->get_download().set_ip(m_dns);
|
||||
|
||||
if (!m_defaultRoot.empty())
|
||||
@@ -188,6 +189,8 @@ Manager::setup_download(Download* d) {
|
||||
d->get_download().get_name() :
|
||||
""));
|
||||
|
||||
m_defaultSettings.for_each(d);
|
||||
|
||||
if (m_debugTracker >= 0)
|
||||
d->get_download().signal_tracker_dump(sigc::mem_fun(*this, &Manager::receive_debug_tracker));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user