aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-22 21:30:14 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-22 21:30:14 +0000
commit3b783e10af83330955ea73f4d50831a59bacf3b2 (patch)
treec3ed5ea422221af4cb334df2bf01e682698c75e9 /src/testbed
parent4b4446ff38e6737fbc432c129688371452222e33 (diff)
downloadgnunet-3b783e10af83330955ea73f4d50831a59bacf3b2.tar.gz
gnunet-3b783e10af83330955ea73f4d50831a59bacf3b2.zip
fixes
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-testbed-profiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index 8e02a55f8..5a674c89d 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -333,7 +333,7 @@ peer_churn_cb (void *cls, const char *emsg)
333 num_peers, ((double) prof_time.rel_value) / 1000.00); 333 num_peers, ((double) prof_time.rel_value) / 1000.00);
334 fflush (stdout); 334 fflush (stdout);
335 result = GNUNET_OK; 335 result = GNUNET_OK;
336 if (0 == num_links) 336 if ((0 == num_links) && (topology == GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI))
337 { 337 {
338 shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); 338 shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
339 return; 339 return;
@@ -802,7 +802,7 @@ main (int argc, char *const *argv)
802 gettext_noop ("Try to acheive TOPOLOGY. This options takes either CLIQUE " 802 gettext_noop ("Try to acheive TOPOLOGY. This options takes either CLIQUE "
803 "or RANDOM. For CLIQUE the parameter -n is ignored. The " 803 "or RANDOM. For CLIQUE the parameter -n is ignored. The "
804 "default is to acheive a random graph topology."), 804 "default is to acheive a random graph topology."),
805 GNUNET_YES, &GNUNET_GETOPT_set_string, &topology }, 805 GNUNET_YES, &set_topology, &topology },
806 GNUNET_GETOPT_OPTION_END 806 GNUNET_GETOPT_OPTION_END
807 }; 807 };
808 int ret; 808 int ret;