summaryrefslogtreecommitdiff
path: root/src/reducer/anastasis_api_discovery.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-05 17:16:04 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-05 17:16:04 +0200
commit71f889186973ef26e8ae684ec47fd570138bc4e5 (patch)
tree02898d03575384c26b5399d28d702d97f4683403 /src/reducer/anastasis_api_discovery.c
parent452aa5391b75ab6637b62398f9b0627593570d5d (diff)
downloadanastasis-71f889186973ef26e8ae684ec47fd570138bc4e5.tar.gz
anastasis-71f889186973ef26e8ae684ec47fd570138bc4e5.tar.bz2
anastasis-71f889186973ef26e8ae684ec47fd570138bc4e5.zip
adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changed
Diffstat (limited to 'src/reducer/anastasis_api_discovery.c')
-rw-r--r--src/reducer/anastasis_api_discovery.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/reducer/anastasis_api_discovery.c b/src/reducer/anastasis_api_discovery.c
index 727f00b..76731ad 100644
--- a/src/reducer/anastasis_api_discovery.c
+++ b/src/reducer/anastasis_api_discovery.c
@@ -318,7 +318,8 @@ ANASTASIS_policy_discovery_start (const json_t *state,
&name),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_boolean ("optional",
- &optional)),
+ &optional),
+ NULL),
GNUNET_JSON_spec_end ()
};
bool present;
@@ -464,7 +465,8 @@ ANASTASIS_mask_id_data (const json_t *state,
&name),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_boolean ("optional",
- &optional)),
+ &optional),
+ NULL),
GNUNET_JSON_spec_end ()
};
bool present;