add back version in DHT packets

This commit is contained in:
Arvid Norberg
2011-01-23 02:02:04 +00:00
parent ec6ef250bf
commit de28a57954
6 changed files with 13 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ using namespace libtorrent::dht;
std::list<std::pair<udp::endpoint, entry> > g_responses;
bool our_send(void* user, entry const& msg, udp::endpoint const& ep, int flags)
bool our_send(void* user, entry& msg, udp::endpoint const& ep, int flags)
{
g_responses.push_back(std::make_pair(ep, msg));
return true;