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:
Arvid Norberg
2006-09-11 23:34:07 +00:00
parent dc2e25141c
commit f92b6cd90c
9 changed files with 58 additions and 40 deletions

View File

@@ -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