forked from premiere/premiere-libtorrent
Remove the last bits of TORRENT_DHT_VERBOSE_LOGGING.
This commit is contained in:
parent
2a22ecfcce
commit
79947dbd2a
|
@ -567,9 +567,6 @@ defines you can use to control the build.
|
|||
| ``TORRENT_DISABLE_DHT`` | If this is defined, the support for trackerless |
|
||||
| | torrents will be disabled. |
|
||||
+----------------------------------------+-------------------------------------------------+
|
||||
| ``TORRENT_DHT_VERBOSE_LOGGING`` | This will enable verbose logging of the DHT |
|
||||
| | protocol traffic. |
|
||||
+----------------------------------------+-------------------------------------------------+
|
||||
| ``TORRENT_DISABLE_ENCRYPTION`` | This will disable any encryption support and |
|
||||
| | the dependencies of a crypto library. |
|
||||
| | Encryption support is the peer connection |
|
||||
|
|
|
@ -1069,7 +1069,7 @@ TORRENT_TEST(dht)
|
|||
printf("num_active_buckets: %d\n", tbl.num_active_buckets());
|
||||
TEST_EQUAL(tbl.num_active_buckets(), 6);
|
||||
|
||||
#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG
|
||||
#if defined TORRENT_DEBUG
|
||||
tbl.print_state(std::cerr);
|
||||
#endif
|
||||
}
|
||||
|
@ -1088,7 +1088,7 @@ TORRENT_TEST(dht)
|
|||
}
|
||||
TEST_EQUAL(tbl.num_active_buckets(), 6);
|
||||
|
||||
#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG
|
||||
#if defined TORRENT_DEBUG
|
||||
tbl.print_state(std::cerr);
|
||||
#endif
|
||||
}
|
||||
|
@ -1340,7 +1340,7 @@ TORRENT_TEST(dht)
|
|||
//#error test num_global_nodes
|
||||
//#error test need_refresh
|
||||
|
||||
#if defined TORRENT_DHT_VERBOSE_LOGGING || defined TORRENT_DEBUG
|
||||
#if defined TORRENT_DEBUG
|
||||
table.print_state(std::cerr);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue