diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-01-23 22:15:47 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-01-23 22:15:47 +0100 |
commit | b7b7cf83d3c1098beeff09ca3f35e6082ed9bffb (patch) | |
tree | 94e9f9c2880bc633ccdd3677bca0444dbd417d9c /src/reducer | |
parent | f6987954390132a274ddb613593c181bc593e006 (diff) | |
download | anastasis-b7b7cf83d3c1098beeff09ca3f35e6082ed9bffb.tar.gz anastasis-b7b7cf83d3c1098beeff09ca3f35e6082ed9bffb.tar.bz2 anastasis-b7b7cf83d3c1098beeff09ca3f35e6082ed9bffb.zip |
-add debugging printfs
Diffstat (limited to 'src/reducer')
-rw-r--r-- | src/reducer/anastasis_api_discovery.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/reducer/anastasis_api_discovery.c b/src/reducer/anastasis_api_discovery.c index 0ec2a81..0ac7c92 100644 --- 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; } |