diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-10-12 12:56:49 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-10-12 12:56:49 +0000 |
commit | cd1310b601dc1b7d1b14b7cafff92c0e9bb92152 (patch) | |
tree | d393ea92910ec0b221dc76dc3211cb26e948dda9 /src/dht/test_dht_twopeer.c | |
parent | 71d1874626c062831968b17473baf4ab2829ebec (diff) | |
download | gnunet-cd1310b601dc1b7d1b14b7cafff92c0e9bb92152.tar.gz gnunet-cd1310b601dc1b7d1b14b7cafff92c0e9bb92152.zip |
change connect topology in testing_group.c to call callback on all peers connected (or possibly timed out connecting)
Diffstat (limited to 'src/dht/test_dht_twopeer.c')
-rw-r--r-- | src/dht/test_dht_twopeer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index 02e789069..ade8e65bd 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c | |||
@@ -320,7 +320,7 @@ connect_topology (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) | |||
320 | { | 320 | { |
321 | expected_connections = -1; | 321 | expected_connections = -1; |
322 | if ((pg != NULL) && (peers_left == 0)) | 322 | if ((pg != NULL) && (peers_left == 0)) |
323 | expected_connections = GNUNET_TESTING_connect_topology (pg, GNUNET_TESTING_TOPOLOGY_CLIQUE, GNUNET_TESTING_TOPOLOGY_OPTION_ALL, 0.0); | 323 | expected_connections = GNUNET_TESTING_connect_topology (pg, GNUNET_TESTING_TOPOLOGY_CLIQUE, GNUNET_TESTING_TOPOLOGY_OPTION_ALL, 0.0, NULL, NULL); |
324 | 324 | ||
325 | GNUNET_SCHEDULER_cancel (sched, die_task); | 325 | GNUNET_SCHEDULER_cancel (sched, die_task); |
326 | if (expected_connections == GNUNET_SYSERR) | 326 | if (expected_connections == GNUNET_SYSERR) |