whitespace cleanup
This commit is contained in:
parent
4cd2a35d9d
commit
6c5bed63d3
|
@ -119,7 +119,7 @@ get_item::get_item(
|
||||||
, nodes_callback const& ncallback)
|
, nodes_callback const& ncallback)
|
||||||
: find_data(dht_node, item_target_id(
|
: find_data(dht_node, item_target_id(
|
||||||
std::make_pair(salt.c_str(), int(salt.size())), pk)
|
std::make_pair(salt.c_str(), int(salt.size())), pk)
|
||||||
, ncallback)
|
, ncallback)
|
||||||
, m_data_callback(dcallback)
|
, m_data_callback(dcallback)
|
||||||
, m_data(pk, salt)
|
, m_data(pk, salt)
|
||||||
, m_immutable(false)
|
, m_immutable(false)
|
||||||
|
|
|
@ -462,13 +462,13 @@ namespace {
|
||||||
void put(std::vector<std::pair<node_entry, std::string> > const& nodes
|
void put(std::vector<std::pair<node_entry, std::string> > const& nodes
|
||||||
, boost::intrusive_ptr<dht::put_data> ta)
|
, boost::intrusive_ptr<dht::put_data> ta)
|
||||||
{
|
{
|
||||||
ta->set_targets(nodes);
|
ta->set_targets(nodes);
|
||||||
ta->start();
|
ta->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
void put_data_cb(item& i, bool auth
|
void put_data_cb(item& i, bool auth
|
||||||
, boost::intrusive_ptr<put_data> ta
|
, boost::intrusive_ptr<put_data> ta
|
||||||
, boost::function<void(item&)> f)
|
, boost::function<void(item&)> f)
|
||||||
{
|
{
|
||||||
// call data_callback only when we got authoritative data.
|
// call data_callback only when we got authoritative data.
|
||||||
if (auth)
|
if (auth)
|
||||||
|
|
Loading…
Reference in New Issue