fix build failure with TORRENT_DHT_VERBOSE_LOGGING

This commit is contained in:
Arvid Norberg 2008-08-19 08:39:21 +00:00
parent 893e9f2af6
commit d94f35a75b
1 changed files with 1 additions and 2 deletions

View File

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