* Last of the commands converted, cleanup remaining.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1154 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-03-27 16:35:15 +00:00
parent bc96dbfa2d
commit 10f665e9c6
24 changed files with 640 additions and 455 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ DhtManager::start_dht() {
torrent::dht_manager()->set_upload_throttle(throttles.first);
torrent::dht_manager()->set_download_throttle(throttles.second);
int port = rpc::call_command_value("get_dht_port");
int port = rpc::call_command_value("dht.port");
if (port <= 0)
return;
@@ -167,7 +167,7 @@ DhtManager::save_dht_cache() {
}
void
DhtManager::set_start(const std::string& arg) {
DhtManager::set_mode(const std::string& arg) {
int i;
for (i = 0; i < dht_settings_num; i++) {
if (arg == dht_settings[i]) {