From: Sree Harsha Totakura Date: Sun, 14 Oct 2012 16:48:49 +0000 (+0000) Subject: output status for connects X-Git-Tag: initial-import-from-subversion-38251~11405 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e5b028393108ce4708bec4a60cdf3e6df90c557;p=oweals%2Fgnunet.git output status for connects --- diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 675912e13..6efe27338 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c @@ -451,13 +451,16 @@ controller_event_cb (void *cls, { static unsigned int established_links; + if (0 == established_links) + printf ("Establishing links\n"); + else + printf ("."); if (++established_links == num_links) { prof_time = GNUNET_TIME_absolute_get_duration (prof_start_time); printf ("%u links established in %.2f seconds\n", num_links, ((double) prof_time.rel_value) / 1000.00); - GNUNET_TESTBED_operation_done (topology_op); - topology_op = NULL; + result = GNUNET_OK; GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); } }