output status for connects
authorSree Harsha Totakura <totakura@in.tum.de>
Sun, 14 Oct 2012 16:48:49 +0000 (16:48 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Sun, 14 Oct 2012 16:48:49 +0000 (16:48 +0000)
src/testbed/gnunet-testbed-profiler.c

index 675912e137f6afdcc714fa8132fab57b9c6b6ee2..6efe273383d5454c88980deba270c96d820d02d6 100644 (file)
@@ -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);
         }
       }