build fixes
This commit is contained in:
@@ -78,6 +78,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "libtorrent/policy.hpp" // for policy::peer
|
#include "libtorrent/policy.hpp" // for policy::peer
|
||||||
#include "libtorrent/alert.hpp" // for alert_manager
|
#include "libtorrent/alert.hpp" // for alert_manager
|
||||||
#include "libtorrent/deadline_timer.hpp"
|
#include "libtorrent/deadline_timer.hpp"
|
||||||
|
#include "libtorrent/socket_io.hpp" // for print_address
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
|
@@ -122,6 +122,7 @@ private:
|
|||||||
|
|
||||||
bool m_is_v6:1;
|
bool m_is_v6:1;
|
||||||
#ifdef TORRENT_DEBUG
|
#ifdef TORRENT_DEBUG
|
||||||
|
public:
|
||||||
bool m_in_constructor:1;
|
bool m_in_constructor:1;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@@ -87,7 +87,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
traversal_algorithm::traversal_algorithm(
|
traversal_algorithm(
|
||||||
node_impl& node
|
node_impl& node
|
||||||
, node_id target)
|
, node_id target)
|
||||||
: m_ref_count(0)
|
: m_ref_count(0)
|
||||||
|
@@ -525,7 +525,9 @@ namespace libtorrent { namespace dht
|
|||||||
int ret = lazy_bdecode(buf, buf + bytes_transferred, e);
|
int ret = lazy_bdecode(buf, buf + bytes_transferred, e);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
{
|
{
|
||||||
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
TORRENT_LOG(dht_tracker) << "<== " << ep << " ERROR: Invalid bencoding";
|
TORRENT_LOG(dht_tracker) << "<== " << ep << " ERROR: Invalid bencoding";
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "libtorrent/buffer.hpp"
|
#include "libtorrent/buffer.hpp"
|
||||||
#include "libtorrent/http_parser.hpp"
|
#include "libtorrent/http_parser.hpp"
|
||||||
#include "libtorrent/escape_string.hpp"
|
#include "libtorrent/escape_string.hpp"
|
||||||
|
#include "libtorrent/socket_io.hpp" // for print_address
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
#include <boost/ref.hpp>
|
#include <boost/ref.hpp>
|
||||||
|
@@ -58,7 +58,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#ifndef TORRENT_DISABLE_DHT
|
#ifndef TORRENT_DISABLE_DHT
|
||||||
|
|
||||||
#include <libtorrent/kademlia/find_data.hpp>
|
#include <libtorrent/kademlia/find_data.hpp>
|
||||||
#include <libtorrent/kademlia/closest_nodes.hpp>
|
|
||||||
#include <libtorrent/kademlia/refresh.hpp>
|
#include <libtorrent/kademlia/refresh.hpp>
|
||||||
#include <libtorrent/kademlia/node.hpp>
|
#include <libtorrent/kademlia/node.hpp>
|
||||||
#include <libtorrent/kademlia/observer.hpp>
|
#include <libtorrent/kademlia/observer.hpp>
|
||||||
|
Reference in New Issue
Block a user