From f99f5e01039e37fbb1f5af275db5ba7eada000ad Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Jun 2012 08:07:52 +0000 Subject: [PATCH] -use const --- src/testbed/testbed_api.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 518fd309c..cc4bbbe25 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c @@ -274,12 +274,14 @@ GNUNET_TESTBED_controller_start (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cc_cls) { struct GNUNET_TESTBED_Controller *controller; - char * binary_argv[] = {"gnunet-service-testbed", - "gnunet-service-testbed", - NULL}; + char * const binary_argv[] = { + "gnunet-service-testbed", + "gnunet-service-testbed", + NULL + }; controller = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_Controller)); controller->helper = GNUNET_TESTBED_host_run_ (host, binary_argv, - &server_mst_cb, controller); + &server_mst_cb, controller); if (NULL == controller->helper) { GNUNET_free (controller); -- 2.25.1