diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-01-21 17:43:41 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-01-21 17:43:41 +0000 |
commit | 0af15f1601c3a7eb51b6acf5693e81c7daa24ebf (patch) | |
tree | 1f7fc9aea80a32b49e975af43790efef066cd371 | |
parent | ab9f06e97938248d8e3af9a6df00725ce25b43c9 (diff) | |
download | gnunet-0af15f1601c3a7eb51b6acf5693e81c7daa24ebf.tar.gz gnunet-0af15f1601c3a7eb51b6acf5693e81c7daa24ebf.zip |
log topology when extended logging is enabled
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index 27e2c2c2f..8437d308b 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c | |||
@@ -894,7 +894,8 @@ log_topology_cb (void *cls, | |||
894 | topo_ctx->total_peers++; | 894 | topo_ctx->total_peers++; |
895 | } | 895 | } |
896 | topo_ctx->total_connections++; | 896 | topo_ctx->total_connections++; |
897 | if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging")) | 897 | if ((GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging")) || |
898 | (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging_extended"))) | ||
898 | dhtlog_handle->insert_extended_topology(first, second); | 899 | dhtlog_handle->insert_extended_topology(first, second); |
899 | } | 900 | } |
900 | else | 901 | else |