use set_proxy in client_test

This commit is contained in:
Arvid Norberg 2010-08-26 15:13:17 +00:00
parent fb8ebc53dd
commit d68719376f
1 changed files with 1 additions and 6 deletions

View File

@ -1000,12 +1000,7 @@ int main(int argc, char* argv[])
ses.start_natpmp();
}
ses.set_peer_proxy(ps);
ses.set_web_seed_proxy(ps);
ses.set_tracker_proxy(ps);
#ifndef TORRENT_DISABLE_DHT
ses.set_dht_proxy(ps);
#endif
ses.set_proxy(ps);
ses.listen_on(std::make_pair(listen_port, listen_port + 10)
, bind_to_interface.c_str());