diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-03-08 13:48:28 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-03-08 13:48:28 +0000 |
commit | af5c0a237cc3e4441bbc03dd7c5da50b94c20f21 (patch) | |
tree | 6289c64e6bcb69ed8a450105d4ee804190d10a3f /src/testing | |
parent | 7645a34a4087589e75ca6c186c6620ebe42e8a8b (diff) | |
download | gnunet-af5c0a237cc3e4441bbc03dd7c5da50b94c20f21.tar.gz gnunet-af5c0a237cc3e4441bbc03dd7c5da50b94c20f21.zip |
do not avoid mallocs
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_group.c | 13 |
1 files changed, 1 insertions, 12 deletions
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 @@ | |||
42 | 42 | ||
43 | #define TOPOLOGY_HACK GNUNET_YES | 43 | #define TOPOLOGY_HACK GNUNET_YES |
44 | 44 | ||
45 | #define AVOID_CONN_MALLOC GNUNET_YES | 45 | #define AVOID_CONN_MALLOC GNUNET_NO |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Lowest port used for GNUnet testing. Should be high enough to not | 48 | * 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, | |||
2639 | } | 2639 | } |
2640 | 2640 | ||
2641 | } | 2641 | } |
2642 | #if 0 | ||
2643 | /* Connect each peer to the next highest numbered peer */ | ||
2644 | for (count = 0; count < pg->total - 1; count++) | ||
2645 | { | ||
2646 | #if VERBOSE_TESTING | ||
2647 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
2648 | "Connecting peer %d to peer %d\n", first_peer_index, second_peer_index); | ||
2649 | #endif | ||
2650 | connect_attempts += proc (pg, first_peer_index, second_peer_index); | ||
2651 | } | ||
2652 | #endif | ||
2653 | return connect_attempts; | 2642 | return connect_attempts; |
2654 | } | 2643 | } |
2655 | 2644 | ||