Browse Source

improve getData reply debug message

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
07749a22e2
  1. 2
      libtorrent/src/kademlia/dht_get.cpp

2
libtorrent/src/kademlia/dht_get.cpp

@ -125,7 +125,7 @@ void dht_get_observer::reply(msg const& m) @@ -125,7 +125,7 @@ void dht_get_observer::reply(msg const& m)
values_list.push_back(entry());
values_list.back() = *e;
}
printf("dht_get::reply calling got_data with %d entries\n", values_list.size());
printf("dht_get::reply from %s:%d with %d entries\n", m.addr.address().to_string().c_str(), m.addr.port(), values_list.size());
static_cast<dht_get*>(m_algorithm.get())->got_data(values_list);
}

Loading…
Cancel
Save