fixed link error with incoming_error
This commit is contained in:
parent
fbccefb70b
commit
6eefa02c56
|
@ -111,6 +111,8 @@ namespace
|
|||
namespace libtorrent { namespace dht
|
||||
{
|
||||
|
||||
void incoming_error(entry& e, char const* msg);
|
||||
|
||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||
int g_az_message_input = 0;
|
||||
int g_ut_message_input = 0;
|
||||
|
@ -519,8 +521,6 @@ namespace libtorrent { namespace dht
|
|||
|
||||
TORRENT_ASSERT(bytes_transferred > 0);
|
||||
|
||||
extern void incoming_error(entry& e, char const* msg);
|
||||
|
||||
lazy_entry e;
|
||||
int ret = lazy_bdecode(buf, buf + bytes_transferred, e);
|
||||
if (ret != 0)
|
||||
|
|
|
@ -57,6 +57,8 @@ using boost::bind;
|
|||
namespace libtorrent { namespace dht
|
||||
{
|
||||
|
||||
void incoming_error(entry& e, char const* msg);
|
||||
|
||||
using detail::write_endpoint;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -240,8 +242,6 @@ void node_impl::unreachable(udp::endpoint const& ep)
|
|||
|
||||
void node_impl::incoming(msg const& m)
|
||||
{
|
||||
extern void incoming_error(entry& e, char const* msg);
|
||||
|
||||
// is this a reply?
|
||||
lazy_entry const* y_ent = m.message.dict_find_string("y");
|
||||
if (!y_ent || y_ent->string_length() == 0)
|
||||
|
|
Loading…
Reference in New Issue