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.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.c')
-rw-r--r-- | src/testbed/testbed_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 0e0a5da9c..1acd0e47c 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -2158,9 +2158,10 @@ GNUNET_TESTBED_extract_config_ (const struct GNUNET_MessageHeader *msg) | |||
2158 | } | 2158 | } |
2159 | cfg = GNUNET_CONFIGURATION_create (); | 2159 | cfg = GNUNET_CONFIGURATION_create (); |
2160 | if (GNUNET_OK != | 2160 | if (GNUNET_OK != |
2161 | GNUNET_CONFIGURATION_deserialize (cfg, (const char *) data, | 2161 | GNUNET_CONFIGURATION_deserialize (cfg, |
2162 | (const char *) data, | ||
2162 | (size_t) data_len, | 2163 | (size_t) data_len, |
2163 | GNUNET_NO)) | 2164 | NULL)) |
2164 | { | 2165 | { |
2165 | GNUNET_free (data); | 2166 | GNUNET_free (data); |
2166 | GNUNET_break_op (0); /* De-serialization failure */ | 2167 | GNUNET_break_op (0); /* De-serialization failure */ |