Lines 1-12
Link Here
|
1 |
--- src/kademlia/dht_tracker.cpp.orig 2016-08-23 04:28:09 UTC |
|
|
2 |
+++ src/kademlia/dht_tracker.cpp |
3 |
@@ -224,7 +224,8 @@ namespace libtorrent { namespace dht |
4 |
void dht_tracker::get_peers(sha1_hash const& ih |
5 |
, boost::function<void(std::vector<tcp::endpoint> const&)> f) |
6 |
{ |
7 |
- m_dht.get_peers(ih, f, NULL, false); |
8 |
+ boost::function<void(std::vector<std::pair<node_entry, std::string> > const&)> empty; |
9 |
+ m_dht.get_peers(ih, f, empty, false); |
10 |
} |
11 |
|
12 |
void dht_tracker::announce(sha1_hash const& ih, int listen_port, int flags |