summaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 2593f5ff8..bb6197e9a 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -1086,8 +1086,7 @@ helper_mst (void *cls, void *client, const struct GNUNET_MessageHeader *message)
1086 GNUNET_assert (GNUNET_CONFIGURATION_deserialize 1086 GNUNET_assert (GNUNET_CONFIGURATION_deserialize
1087 (cp->host->cfg, config, config_size, GNUNET_NO)); 1087 (cp->host->cfg, config, config_size, GNUNET_NO));
1088 GNUNET_free (config); 1088 GNUNET_free (config);
1089 if ((NULL == cp->host) || 1089 if (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host)))
1090 (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host))))
1091 hostname = "localhost"; 1090 hostname = "localhost";
1092 /* Change the hostname so that we can connect to it */ 1091 /* Change the hostname so that we can connect to it */
1093 GNUNET_CONFIGURATION_set_value_string (cp->host->cfg, "testbed", "hostname", 1092 GNUNET_CONFIGURATION_set_value_string (cp->host->cfg, "testbed", "hostname",