aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-10-17 15:24:06 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-10-17 15:24:06 +0000
commitfe044526251046515f8f9ea71b0e9cb7a9b89bc0 (patch)
treeb5962a19b674bf65fbc7a4380e03c48598ccc7ae /src/testbed/testbed_api_hosts.c
parent0f6d24a229e9149db26a4e667ed25032d19f533a (diff)
downloadgnunet-fe044526251046515f8f9ea71b0e9cb7a9b89bc0.tar.gz
gnunet-fe044526251046515f8f9ea71b0e9cb7a9b89bc0.zip
- use get_value_filename when retrieving filenames and paths
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 2b0d20127..8af8e23d0 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -1102,7 +1102,7 @@ GNUNET_TESTBED_controller_start (const char *trusted_ip,
1102 GNUNET_asprintf (&port, "%u", host->port); 1102 GNUNET_asprintf (&port, "%u", host->port);
1103 LOG_DEBUG ("Starting remote connection to destination %s\n", hostname); 1103 LOG_DEBUG ("Starting remote connection to destination %s\n", hostname);
1104 if (GNUNET_OK != 1104 if (GNUNET_OK !=
1105 GNUNET_CONFIGURATION_get_value_string (cfg, "testbed", 1105 GNUNET_CONFIGURATION_get_value_filename (cfg, "testbed",
1106 "HELPER_BINARY_PATH", 1106 "HELPER_BINARY_PATH",
1107 &helper_binary_path_args[0])) 1107 &helper_binary_path_args[0]))
1108 helper_binary_path_args[0] = 1108 helper_binary_path_args[0] =
@@ -1330,7 +1330,7 @@ GNUNET_TESTBED_is_host_habitable (const struct GNUNET_TESTBED_Host *host,
1330 h->host = host; 1330 h->host = host;
1331 hostname = (NULL == host->hostname) ? "127.0.0.1" : host->hostname; 1331 hostname = (NULL == host->hostname) ? "127.0.0.1" : host->hostname;
1332 if (GNUNET_OK != 1332 if (GNUNET_OK !=
1333 GNUNET_CONFIGURATION_get_value_string (config, "testbed", 1333 GNUNET_CONFIGURATION_get_value_filename (config, "testbed",
1334 "HELPER_BINARY_PATH", 1334 "HELPER_BINARY_PATH",
1335 &stat_args[1])) 1335 &stat_args[1]))
1336 stat_args[1] = 1336 stat_args[1] =