Remove the last bits of TORRENT_DHT_VERBOSE_LOGGING.

This commit is contained in:
Jakob Petsovits 2015-07-15 19:05:41 -04:00
parent 2a22ecfcce
commit 79947dbd2a
2 changed files with 3 additions and 6 deletions

View File

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

View File

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