whitespace cleanup
This commit is contained in:
parent
4cd2a35d9d
commit
6c5bed63d3
|
@ -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)
|
||||
|
|
|
@ -462,13 +462,13 @@ namespace {
|
|||
void put(std::vector<std::pair<node_entry, std::string> > const& nodes
|
||||
, boost::intrusive_ptr<dht::put_data> ta)
|
||||
{
|
||||
ta->set_targets(nodes);
|
||||
ta->set_targets(nodes);
|
||||
ta->start();
|
||||
}
|
||||
|
||||
void put_data_cb(item& i, bool auth
|
||||
, boost::intrusive_ptr<put_data> ta
|
||||
, boost::function<void(item&)> f)
|
||||
, boost::intrusive_ptr<put_data> ta
|
||||
, boost::function<void(item&)> f)
|
||||
{
|
||||
// call data_callback only when we got authoritative data.
|
||||
if (auth)
|
||||
|
|
Loading…
Reference in New Issue