diff options
Diffstat (limited to 'src/reclaim/gnunet-reclaim.c')
-rw-r--r-- | src/reclaim/gnunet-reclaim.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c index 58f8cd6e2..5f9170f05 100644 --- a/src/reclaim/gnunet-reclaim.c +++ b/src/reclaim/gnunet-reclaim.c | |||
@@ -226,7 +226,9 @@ store_attr_cont (void *cls, int32_t success, const char *emsg) | |||
226 | static void | 226 | static void |
227 | process_attrs (void *cls, | 227 | process_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, | ||
231 | const struct GNUNET_RECLAIM_ATTESTATION_REFERENCE *reference) | ||
230 | { | 232 | { |
231 | char *value_str; | 233 | char *value_str; |
232 | char *id; | 234 | char *id; |
@@ -253,7 +255,7 @@ process_attrs (void *cls, | |||
253 | attr->name, | 255 | attr->name, |
254 | value_str, | 256 | value_str, |
255 | attr_type, | 257 | attr_type, |
256 | attr->version, | 258 | attr->flag, |
257 | id); | 259 | id); |
258 | GNUNET_free (id); | 260 | GNUNET_free (id); |
259 | } | 261 | } |
@@ -445,7 +447,9 @@ iter_finished (void *cls) | |||
445 | static void | 447 | static void |
446 | iter_cb (void *cls, | 448 | iter_cb (void *cls, |
447 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, | 449 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, |
448 | const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr) | 450 | const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr, |
451 | const struct GNUNET_RECLAIM_ATTESTATION_Claim *attest, | ||
452 | const struct GNUNET_RECLAIM_ATTESTATION_REFERENCE *reference) | ||
449 | { | 453 | { |
450 | struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *le; | 454 | struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListEntry *le; |
451 | char *attrs_tmp; | 455 | char *attrs_tmp; |
@@ -480,7 +484,7 @@ iter_cb (void *cls, | |||
480 | attr->type, | 484 | attr->type, |
481 | attr->data, | 485 | attr->data, |
482 | attr->data_size); | 486 | attr->data_size); |
483 | le->claim->version = attr->version; | 487 | le->claim->flag = attr->flag; |
484 | le->claim->id = attr->id; | 488 | le->claim->id = attr->id; |
485 | GNUNET_CONTAINER_DLL_insert (attr_list->list_head, | 489 | GNUNET_CONTAINER_DLL_insert (attr_list->list_head, |
486 | attr_list->list_tail, | 490 | attr_list->list_tail, |
@@ -514,7 +518,7 @@ iter_cb (void *cls, | |||
514 | attr->name, | 518 | attr->name, |
515 | attr_str, | 519 | attr_str, |
516 | attr_type, | 520 | attr_type, |
517 | attr->version, | 521 | attr->flag, |
518 | id); | 522 | id); |
519 | GNUNET_free (id); | 523 | GNUNET_free (id); |
520 | } | 524 | } |