From af5c0a237cc3e4441bbc03dd7c5da50b94c20f21 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 8 Mar 2011 13:48:28 +0000 Subject: do not avoid mallocs --- src/testing/testing_group.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/testing/testing_group.c') diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 84f32cc2f..10aa31770 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -42,7 +42,7 @@ #define TOPOLOGY_HACK GNUNET_YES -#define AVOID_CONN_MALLOC GNUNET_YES +#define AVOID_CONN_MALLOC GNUNET_NO /** * Lowest port used for GNUnet testing. Should be high enough to not @@ -2639,17 +2639,6 @@ create_from_file(struct GNUNET_TESTING_PeerGroup *pg, char *filename, } } -#if 0 - /* Connect each peer to the next highest numbered peer */ - for (count = 0; count < pg->total - 1; count++) - { -#if VERBOSE_TESTING - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Connecting peer %d to peer %d\n", first_peer_index, second_peer_index); -#endif - connect_attempts += proc (pg, first_peer_index, second_peer_index); - } -#endif return connect_attempts; } -- cgit v1.2.3