aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim-attribute/reclaim_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim-attribute/reclaim_attribute.c')
-rw-r--r--src/reclaim-attribute/reclaim_attribute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reclaim-attribute/reclaim_attribute.c b/src/reclaim-attribute/reclaim_attribute.c
index 0e3fae849..12f124c15 100644
--- a/src/reclaim-attribute/reclaim_attribute.c
+++ b/src/reclaim-attribute/reclaim_attribute.c
@@ -470,6 +470,7 @@ GNUNET_RECLAIM_attribute_serialize (
470 attr_ser->attribute_type = htons (attr->type); 470 attr_ser->attribute_type = htons (attr->type);
471 attr_ser->attribute_flag = htonl (attr->flag); 471 attr_ser->attribute_flag = htonl (attr->flag);
472 attr_ser->attribute_id = attr->id; 472 attr_ser->attribute_id = attr->id;
473 attr_ser->attestation_id = attr->attestation;
473 name_len = strlen (attr->name); 474 name_len = strlen (attr->name);
474 attr_ser->name_len = htons (name_len); 475 attr_ser->name_len = htons (name_len);
475 write_ptr = (char *) &attr_ser[1]; 476 write_ptr = (char *) &attr_ser[1];
@@ -520,6 +521,7 @@ GNUNET_RECLAIM_attribute_deserialize (const char *data, size_t data_size)
520 attr->type = ntohs (attr_ser->attribute_type); 521 attr->type = ntohs (attr_ser->attribute_type);
521 attr->flag = ntohl (attr_ser->attribute_flag); 522 attr->flag = ntohl (attr_ser->attribute_flag);
522 attr->id = attr_ser->attribute_id; 523 attr->id = attr_ser->attribute_id;
524 attr->attestation = attr_ser->attestation_id;
523 attr->data_size = data_len; 525 attr->data_size = data_len;
524 526
525 write_ptr = (char *) &attr[1]; 527 write_ptr = (char *) &attr[1];