fix tests

This commit is contained in:
Arvid Norberg
2013-06-19 19:14:46 +00:00
parent 61d1d7ea0e
commit d05ce6c6a0
3 changed files with 3 additions and 2 deletions

View File

@@ -135,6 +135,7 @@ void test_proxy(proxy_settings::proxy_type proxy_type, int flags)
addp.dht_nodes.push_back(std::pair<std::string, int>("127.0.0.1", dht_port));
torrent_handle h = s->add_torrent(addp);
printf("connect_peer: 127.0.0.1:%d\n", peer_port);
h.connect_peer(tcp::endpoint(address_v4::from_string("127.0.0.1"), peer_port));
rejected_trackers.clear();