commit b7b7cf83d3c1098beeff09ca3f35e6082ed9bffb
parent f6987954390132a274ddb613593c181bc593e006
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 23 Jan 2022 22:15:47 +0100
-add debugging printfs
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/reducer/anastasis_api_discovery.c b/src/reducer/anastasis_api_discovery.c
@@ -277,18 +277,27 @@ ANASTASIS_policy_discovery_start (const json_t *state,
(! json_is_object (master_id)) )
{
GNUNET_break (0);
+ json_dumpf (state,
+ stderr,
+ JSON_INDENT (2));
return NULL;
}
if ( (NULL == providers) ||
(! json_is_object (providers)) )
{
GNUNET_break (0);
+ json_dumpf (state,
+ stderr,
+ JSON_INDENT (2));
return NULL;
}
if ( (NULL == required_attributes) ||
(! json_is_array (required_attributes)) )
{
GNUNET_break (0);
+ json_dumpf (state,
+ stderr,
+ JSON_INDENT (2));
return NULL;
}