From: Nathan S. Evans Date: Fri, 21 Jan 2011 17:43:41 +0000 (+0000) Subject: log topology when extended logging is enabled X-Git-Tag: initial-import-from-subversion-38251~19284 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0af15f1601c3a7eb51b6acf5693e81c7daa24ebf;p=oweals%2Fgnunet.git log topology when extended logging is enabled --- 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, topo_ctx->total_peers++; } topo_ctx->total_connections++; - if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging")) + if ((GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging")) || + (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno(config, "dht_testing", "mysql_logging_extended"))) dhtlog_handle->insert_extended_topology(first, second); } else