fixed test_ip_filter and test_piece_picker to reflect recent api changes. Fixed an Obj.C naming issue. Removed files from include/Makefile.am that was removed from asio.
This commit is contained in:
@@ -1354,10 +1354,6 @@ namespace libtorrent
|
||||
// reply with our handshake
|
||||
write_handshake();
|
||||
write_bitfield(t->pieces());
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
if (m_supports_dht_port && m_ses.m_dht)
|
||||
write_dht_port(m_ses.m_dht_settings.service_port);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1372,6 +1368,11 @@ namespace libtorrent
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
if (m_supports_dht_port && m_ses.m_dht)
|
||||
write_dht_port(m_ses.m_dht_settings.service_port);
|
||||
#endif
|
||||
|
||||
m_state = read_peer_id;
|
||||
reset_recv_buffer(20);
|
||||
#ifdef TORRENT_VERBOSE_LOGGING
|
||||
|
Reference in New Issue
Block a user