[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19799 - gnunet/src/testing
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19799 - gnunet/src/testing |
Date: |
Tue, 14 Feb 2012 11:37:42 +0100 |
Author: bartpolot
Date: 2012-02-14 11:37:42 +0100 (Tue, 14 Feb 2012)
New Revision: 19799
Modified:
gnunet/src/testing/testing_peergroup.c
Log:
- mark meters as freed, documentation as missing
Modified: gnunet/src/testing/testing_peergroup.c
===================================================================
--- gnunet/src/testing/testing_peergroup.c 2012-02-14 10:35:31 UTC (rev
19798)
+++ gnunet/src/testing/testing_peergroup.c 2012-02-14 10:37:42 UTC (rev
19799)
@@ -68,14 +68,29 @@
void *cls;
const struct GNUNET_TESTING_Host *hostnames;
+
+ /**
+ * FIXME document
+ */
enum GNUNET_TESTING_Topology topology;
float topology_percentage;
float topology_probability;
+ /**
+ * FIXME document
+ */
enum GNUNET_TESTING_Topology restrict_topology;
+
+ /**
+ * FIXME document
+ */
char *restrict_transports;
+
+ /**
+ * Initial connections
+ */
enum GNUNET_TESTING_Topology connect_topology;
enum GNUNET_TESTING_TopologyOption connect_topology_option;
double connect_topology_option_modifier;
@@ -297,11 +312,20 @@
&internal_shutdown_callback, pg_start_ctx);
if (pg_start_ctx->hostkey_meter != NULL)
+ {
free_meter (pg_start_ctx->hostkey_meter);
+ pg_start_ctx->hostkey_meter = NULL;
+ }
if (pg_start_ctx->peer_start_meter != NULL)
+ {
free_meter (pg_start_ctx->peer_start_meter);
+ pg_start_ctx->peer_start_meter = NULL;
+ }
if (pg_start_ctx->connect_meter != NULL)
+ {
free_meter (pg_start_ctx->connect_meter);
+ pg_start_ctx->connect_meter = NULL;
+ }
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19799 - gnunet/src/testing,
gnunet <=