From a19c4f231f5b51276e24f306e830bdba047e67bf Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 20 Oct 2013 14:02:19 -0200 Subject: [PATCH] return false when packet not sent to ourselves --- libtorrent/src/kademlia/find_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/kademlia/find_data.cpp b/libtorrent/src/kademlia/find_data.cpp index a0609398..2bcc08d1 100644 --- a/libtorrent/src/kademlia/find_data.cpp +++ b/libtorrent/src/kademlia/find_data.cpp @@ -208,7 +208,7 @@ bool find_data::invoke(observer_ptr o) // im not going to ask trackers from myself if( o->id() == m_node.nid() ) - return true; + return false; entry e; e["z"] = "q";