aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-25 13:45:54 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-25 13:45:54 +0100
commite8879b468c885bc0312d279368a9f2b85f741d41 (patch)
treec9120d51573f95eb938d7796f98b0ab9835f8b26 /src/transport
parentb5e0f7959490e3058df509ea1bf64428ee6c6202 (diff)
downloadgnunet-e8879b468c885bc0312d279368a9f2b85f741d41.tar.gz
gnunet-e8879b468c885bc0312d279368a9f2b85f741d41.zip
use static array
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/test_communicator_basic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/transport/test_communicator_basic.c b/src/transport/test_communicator_basic.c
index 3ae4cf12f..a17767d07 100644
--- a/src/transport/test_communicator_basic.c
+++ b/src/transport/test_communicator_basic.c
@@ -54,7 +54,7 @@ GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_hs[NUM_PEERS];
54 54
55static struct GNUNET_CONFIGURATION_Handle *cfg_peers[NUM_PEERS]; 55static struct GNUNET_CONFIGURATION_Handle *cfg_peers[NUM_PEERS];
56 56
57static char **cfg_peers_name; 57static char *cfg_peers_name[NUM_PEERS];
58 58
59static int ret; 59static int ret;
60 60
@@ -489,8 +489,6 @@ main (int argc,
489 communicator_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); 489 communicator_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
490 GNUNET_asprintf (&communicator_binary, "gnunet-communicator-%s", 490 GNUNET_asprintf (&communicator_binary, "gnunet-communicator-%s",
491 communicator_name); 491 communicator_name);
492 cfg_peers_name = GNUNET_new_array (NUM_PEERS,
493 char *);
494 if (GNUNET_OK != GNUNET_log_setup ("test_communicator_basic", 492 if (GNUNET_OK != GNUNET_log_setup ("test_communicator_basic",
495 "DEBUG", 493 "DEBUG",
496 "test_communicator_basic.log")) 494 "test_communicator_basic.log"))