Changeset 1058 for trunk/rtorrent/src/core/download_factory.cc
- Timestamp:
- 05/05/08 15:16:26 (4 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/core/download_factory.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/core/download_factory.cc
r1049 r1058 196 196 if (!rtorrent->has_key_string("custom5")) rtorrent->insert_key("custom5", std::string()); 197 197 198 // Move to 'rtorrent'.199 rpc::call_command("d.set_connection_leech", m_variables["connection_leech"], rpc::make_target(download));200 rpc::call_command("d.set_connection_seed", m_variables["connection_seed"], rpc::make_target(download));201 202 198 rpc::call_command("d.set_uploads_max", rpc::call_command_void("get_max_uploads"), rpc::make_target(download)); 203 199 rpc::call_command("d.set_peers_min", rpc::call_command_void("get_min_peers"), rpc::make_target(download)); … … 353 349 354 350 rtorrent->insert_preserve_copy("ignore_commands", (int64_t)0); 355 } 356 357 } 351 352 rtorrent->insert_preserve_type("connection_leech", m_variables["connection_leech"]); 353 rtorrent->insert_preserve_type("connection_seed", m_variables["connection_seed"]); 354 } 355 356 }
