aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-25 19:36:44 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-25 19:36:44 +0200
commit981cc68a63c71ba11aaca84f559f3cf86a29c0ec (patch)
tree5196b264c461b609a128188e78a42b9972c845c3 /src/testbed/testbed_api_hosts.c
parent169f1c8c1db0a6d8cebf308ced1de064eadcdc4d (diff)
downloadgnunet-981cc68a63c71ba11aaca84f559f3cf86a29c0ec.tar.gz
gnunet-981cc68a63c71ba11aaca84f559f3cf86a29c0ec.zip
fix configuration parsing issue with inlines from configuration not in cwd
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 5d2c1cc37..8efcab649 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -983,7 +983,10 @@ helper_mst (void *cls,
983 GNUNET_CONFIGURATION_destroy (cp->host->cfg); 983 GNUNET_CONFIGURATION_destroy (cp->host->cfg);
984 cp->host->cfg = GNUNET_CONFIGURATION_create (); 984 cp->host->cfg = GNUNET_CONFIGURATION_create ();
985 GNUNET_assert (GNUNET_CONFIGURATION_deserialize 985 GNUNET_assert (GNUNET_CONFIGURATION_deserialize
986 (cp->host->cfg, config, config_size, GNUNET_NO)); 986 (cp->host->cfg,
987 config,
988 config_size,
989 NULL));
987 GNUNET_free (config); 990 GNUNET_free (config);
988 if (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host))) 991 if (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host)))
989 hostname = "localhost"; 992 hostname = "localhost";