aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/plugin_rest_reclaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r--src/reclaim/plugin_rest_reclaim.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c
index 863dd0450..10ee2f801 100644
--- a/src/reclaim/plugin_rest_reclaim.c
+++ b/src/reclaim/plugin_rest_reclaim.c
@@ -576,7 +576,8 @@ attest_collect (void *cls,
576 if (GNUNET_OK == GNUNET_RECLAIM_attestation_get_expiration (attest, 576 if (GNUNET_OK == GNUNET_RECLAIM_attestation_get_expiration (attest,
577 &exp)) 577 &exp))
578 { 578 {
579 json_object_set_new (attest_obj, "expiration", json_integer (exp.abs_value_us)); 579 json_object_set_new (attest_obj, "expiration", json_integer (
580 exp.abs_value_us));
580 } 581 }
581 id_str = GNUNET_STRINGS_data_to_string_alloc (&attest->id, 582 id_str = GNUNET_STRINGS_data_to_string_alloc (&attest->id,
582 sizeof(attest->id)); 583 sizeof(attest->id));
@@ -597,7 +598,7 @@ attest_collect (void *cls,
597 json_object_set_new (attr_obj, "name", json_string ( 598 json_object_set_new (attr_obj, "name", json_string (
598 ale->attribute->name)); 599 ale->attribute->name));
599 600
600 json_object_set_new (attr_obj, "flag", json_string ("1")); //FIXME 601 json_object_set_new (attr_obj, "flag", json_string ("1")); // FIXME
601 type = GNUNET_RECLAIM_attribute_number_to_typename (ale->attribute->type); 602 type = GNUNET_RECLAIM_attribute_number_to_typename (ale->attribute->type);
602 json_object_set_new (attr_obj, "type", json_string (type)); 603 json_object_set_new (attr_obj, "type", json_string (type));
603 json_object_set_new (attr_obj, "id", json_string ("")); 604 json_object_set_new (attr_obj, "id", json_string (""));
@@ -1492,7 +1493,7 @@ libgnunet_plugin_rest_reclaim_done (void *cls)
1492 1493
1493 plugin->cfg = NULL; 1494 plugin->cfg = NULL;
1494 1495
1495 GNUNET_free_non_null (allow_methods); 1496 GNUNET_free (allow_methods);
1496 GNUNET_free (api); 1497 GNUNET_free (api);
1497 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1498 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1498 "Identity Provider REST plugin is finished\n"); 1499 "Identity Provider REST plugin is finished\n");