[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14667 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14667 - gnunet/src/dht |
Date: |
Wed, 16 Mar 2011 16:11:42 +0100 |
Author: nevans
Date: 2011-03-16 16:11:42 +0100 (Wed, 16 Mar 2011)
New Revision: 14667
Modified:
gnunet/src/dht/gnunet-dht-driver.c
Log:
formatting
Modified: gnunet/src/dht/gnunet-dht-driver.c
===================================================================
--- gnunet/src/dht/gnunet-dht-driver.c 2011-03-16 13:52:50 UTC (rev 14666)
+++ gnunet/src/dht/gnunet-dht-driver.c 2011-03-16 15:11:42 UTC (rev 14667)
@@ -2927,11 +2927,11 @@
*/
static void
topology_callback(void *cls, const struct GNUNET_PeerIdentity *first,
- const struct GNUNET_PeerIdentity *second, uint32_t distance,
- const struct GNUNET_CONFIGURATION_Handle *first_cfg,
- const struct GNUNET_CONFIGURATION_Handle *second_cfg,
- struct GNUNET_TESTING_Daemon *first_daemon,
- struct GNUNET_TESTING_Daemon *second_daemon, const char *emsg)
+ const struct GNUNET_PeerIdentity *second, uint32_t distance,
+ const struct GNUNET_CONFIGURATION_Handle *first_cfg,
+ const struct GNUNET_CONFIGURATION_Handle *second_cfg,
+ struct GNUNET_TESTING_Daemon *first_daemon,
+ struct GNUNET_TESTING_Daemon *second_daemon, const char
*emsg)
{
struct TopologyIteratorContext *topo_ctx;
unsigned long long duration;
@@ -3214,12 +3214,14 @@
static void
create_topology()
{
+ unsigned int create_expected_connections;
peers_left = num_peers; /* Reset counter */
- if (GNUNET_TESTING_create_topology (pg, topology, blacklist_topology,
- blacklist_transports) != GNUNET_SYSERR)
+ create_expected_connections = GNUNET_TESTING_create_topology (pg, topology,
blacklist_topology,
+
blacklist_transports);
+ if (create_expected_connections > 0)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Topology set up, now starting peers!\n");
+ "Topology set up, have %u expected connections, now starting
peers!\n", create_expected_connections);
GNUNET_TESTING_daemons_continue_startup (pg);
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14667 - gnunet/src/dht,
gnunet <=