gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24464 - gnunet/src/testbed


From: gnunet
Subject: [GNUnet-SVN] r24464 - gnunet/src/testbed
Date: Mon, 22 Oct 2012 23:30:14 +0200

Author: harsha
Date: 2012-10-22 23:30:14 +0200 (Mon, 22 Oct 2012)
New Revision: 24464

Modified:
   gnunet/src/testbed/gnunet-testbed-profiler.c
Log:
fixes

Modified: gnunet/src/testbed/gnunet-testbed-profiler.c
===================================================================
--- gnunet/src/testbed/gnunet-testbed-profiler.c        2012-10-22 21:26:57 UTC 
(rev 24463)
+++ gnunet/src/testbed/gnunet-testbed-profiler.c        2012-10-22 21:30:14 UTC 
(rev 24464)
@@ -333,7 +333,7 @@
             num_peers, ((double) prof_time.rel_value) / 1000.00);
     fflush (stdout);
     result = GNUNET_OK;
-    if (0 == num_links)
+    if ((0 == num_links) && (topology == GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI))
     {      
       shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
       return;
@@ -802,7 +802,7 @@
       gettext_noop ("Try to acheive TOPOLOGY. This options takes either CLIQUE 
"
                     "or RANDOM. For CLIQUE the parameter -n is ignored. The "
                     "default is to acheive a random graph topology."),
-      GNUNET_YES, &GNUNET_GETOPT_set_string, &topology },
+      GNUNET_YES, &set_topology, &topology },
     GNUNET_GETOPT_OPTION_END
   };
   int ret;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]