diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-25 19:36:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-25 19:36:44 +0200 |
commit | 981cc68a63c71ba11aaca84f559f3cf86a29c0ec (patch) | |
tree | 5196b264c461b609a128188e78a42b9972c845c3 /src/testbed/testbed_api_hosts.c | |
parent | 169f1c8c1db0a6d8cebf308ced1de064eadcdc4d (diff) | |
download | gnunet-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.c | 5 |
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"; |