From 71f889186973ef26e8ae684ec47fd570138bc4e5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 Apr 2022 17:16:04 +0200 Subject: adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changed --- src/restclient/anastasis_api_truth_challenge.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/restclient/anastasis_api_truth_challenge.c') diff --git a/src/restclient/anastasis_api_truth_challenge.c b/src/restclient/anastasis_api_truth_challenge.c index 911eba6..76e9ec5 100644 --- a/src/restclient/anastasis_api_truth_challenge.c +++ b/src/restclient/anastasis_api_truth_challenge.c @@ -131,13 +131,16 @@ handle_truth_challenge_finished (void *cls, &ct), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("tan_address_hint", - &tan_hint)), + &tan_hint), + NULL), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("filename", - &filename)), + &filename), + NULL), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_json ("wire_details", - &wire_details)), + &wire_details), + NULL), GNUNET_JSON_spec_end () }; -- cgit v1.2.3