diff --git a/src/kademlia/get_item.cpp b/src/kademlia/get_item.cpp index 25ca0330b..317b9a151 100644 --- a/src/kademlia/get_item.cpp +++ b/src/kademlia/get_item.cpp @@ -119,7 +119,7 @@ get_item::get_item( , nodes_callback const& ncallback) : find_data(dht_node, item_target_id( std::make_pair(salt.c_str(), int(salt.size())), pk) - , ncallback) + , ncallback) , m_data_callback(dcallback) , m_data(pk, salt) , m_immutable(false) diff --git a/src/kademlia/node.cpp b/src/kademlia/node.cpp index cb06b59c6..8cf23628c 100644 --- a/src/kademlia/node.cpp +++ b/src/kademlia/node.cpp @@ -462,13 +462,13 @@ namespace { void put(std::vector > const& nodes , boost::intrusive_ptr ta) { - ta->set_targets(nodes); + ta->set_targets(nodes); ta->start(); } void put_data_cb(item& i, bool auth - , boost::intrusive_ptr ta - , boost::function f) + , boost::intrusive_ptr ta + , boost::function f) { // call data_callback only when we got authoritative data. if (auth)