aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/gnunet-reclaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/gnunet-reclaim.c')
-rw-r--r--src/reclaim/gnunet-reclaim.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c
index c8ce1d722..5f9170f05 100644
--- a/src/reclaim/gnunet-reclaim.c
+++ b/src/reclaim/gnunet-reclaim.c
@@ -227,7 +227,8 @@ static void
227process_attrs (void *cls, 227process_attrs (void *cls,
228 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, 228 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity,
229 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr, 229 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr,
230 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attest) 230 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attest,
231 const struct GNUNET_RECLAIM_ATTESTATION_REFERENCE *reference)
231{ 232{
232 char *value_str; 233 char *value_str;
233 char *id; 234 char *id;
@@ -254,7 +255,7 @@ process_attrs (void *cls,
254 attr->name, 255 attr->name,
255 value_str, 256 value_str,
256 attr_type, 257 attr_type,
257 attr->version, 258 attr->flag,
258 id); 259 id);
259 GNUNET_free (id); 260 GNUNET_free (id);
260} 261}
@@ -447,7 +448,8 @@ static void
447iter_cb (void *cls, 448iter_cb (void *cls,
448 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, 449 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity,
449 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr, 450 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr,
450 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attest) 451 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attest,
452 const struct GNUNET_RECLAIM_ATTESTATION_REFERENCE *reference)
451{ 453{
452 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *le; 454 struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *le;
453 char *attrs_tmp; 455 char *attrs_tmp;
@@ -482,7 +484,7 @@ iter_cb (void *cls,
482 attr->type, 484 attr->type,
483 attr->data, 485 attr->data,
484 attr->data_size); 486 attr->data_size);
485 le->claim->version = attr->version; 487 le->claim->flag = attr->flag;
486 le->claim->id = attr->id; 488 le->claim->id = attr->id;
487 GNUNET_CONTAINER_DLL_insert (attr_list->list_head, 489 GNUNET_CONTAINER_DLL_insert (attr_list->list_head,
488 attr_list->list_tail, 490 attr_list->list_tail,
@@ -516,7 +518,7 @@ iter_cb (void *cls,
516 attr->name, 518 attr->name,
517 attr_str, 519 attr_str,
518 attr_type, 520 attr_type,
519 attr->version, 521 attr->flag,
520 id); 522 id);
521 GNUNET_free (id); 523 GNUNET_free (id);
522 } 524 }