This commit is contained in:
Andrew Resch 2009-05-31 20:55:10 +00:00
parent 15f1ec0b0b
commit 6626ed22a5
1 changed files with 4 additions and 4 deletions

View File

@ -130,10 +130,10 @@ void bind_session_settings()
#ifndef TORRENT_DISABLE_DHT
class_<dht_settings>("dht_settings")
.def_readwrite("max_peers_reply", dht_settings::max_peers_reply)
.def_readwrite("search_branching", dht_settings::search_branching)
.def_readwrite("service_port", dht_settings::service_port)
.def_readwrite("max_fail_count", dht_settings::max_fail_count)
.def_readwrite("max_peers_reply", &dht_settings::max_peers_reply)
.def_readwrite("search_branching", &dht_settings::search_branching)
.def_readwrite("service_port", &dht_settings::service_port)
.def_readwrite("max_fail_count", &dht_settings::max_fail_count)
;
#endif