fix build failure with TORRENT_DHT_VERBOSE_LOGGING
This commit is contained in:
@@ -448,8 +448,7 @@ namespace libtorrent { namespace dht
|
||||
{
|
||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||
std::string msg(buf, buf + bytes_transferred);
|
||||
TORRENT_LOG(dht_tracker) << "invalid incoming packet: "
|
||||
<< e.what() << "\n" << msg << "\n";
|
||||
TORRENT_LOG(dht_tracker) << "invalid incoming packet\n";
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user