gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16162 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r16162 - gnunet/src/testing
Date: Mon, 25 Jul 2011 12:09:24 +0200

Author: nevans
Date: 2011-07-25 12:09:24 +0200 (Mon, 25 Jul 2011)
New Revision: 16162

Modified:
   gnunet/src/testing/testing_group.c
   gnunet/src/testing/testing_peergroup.c
Log:
default topology bug

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2011-07-24 11:55:46 UTC (rev 16161)
+++ gnunet/src/testing/testing_group.c  2011-07-25 10:09:24 UTC (rev 16162)
@@ -5095,6 +5095,12 @@
 /**
  * Iterate over all (running) peers in the peer group, retrieve
  * all statistics from each.
+ *
+ * @param pg the peergroup to iterate statistics of
+ * @param cont continuation to call once all stats have been retrieved
+ * @param proc processing function for each statistic from each peer
+ * @param cls closure to pass to proc
+ *
  */
 void
 GNUNET_TESTING_get_statistics(struct GNUNET_TESTING_PeerGroup *pg,

Modified: gnunet/src/testing/testing_peergroup.c
===================================================================
--- gnunet/src/testing/testing_peergroup.c      2011-07-24 11:55:46 UTC (rev 
16161)
+++ gnunet/src/testing/testing_peergroup.c      2011-07-25 10:09:24 UTC (rev 
16162)
@@ -871,6 +871,7 @@
                                                 
&pg_start_ctx->restrict_transports))
     pg_start_ctx->restrict_transports = NULL;
 
+  pg_start_ctx->restrict_topology = GNUNET_TESTING_TOPOLOGY_NONE;
   if ((GNUNET_YES
       == GNUNET_CONFIGURATION_get_value_string (cfg, "testing",
                                                 "blacklist_topology",
@@ -882,6 +883,7 @@
                   "Invalid topology `%s' given for section %s option %s\n",
                   temp_str, "TESTING", "BLACKLIST_TOPOLOGY");
     }
+
   GNUNET_free_non_null(temp_str);
 
   pg_start_ctx->cfg = cfg;




reply via email to

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