diff options
author | Markus Voggenreiter <Markus.Voggenreiter@tum.de> | 2019-11-01 10:59:01 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-01-13 13:31:04 +0100 |
commit | 6fad96b4971e3067168932088dcaf6c3cbdcb124 (patch) | |
tree | ce303eb691d51a6cdb6e7b46c04411eeb92e02b0 /src/reclaim-attribute | |
parent | 17af2a636fc8fd0c111c7550484b2582cb7eb64a (diff) | |
download | gnunet-6fad96b4971e3067168932088dcaf6c3cbdcb124.tar.gz gnunet-6fad96b4971e3067168932088dcaf6c3cbdcb124.zip |
Listing of References with Attributes
Diffstat (limited to 'src/reclaim-attribute')
-rw-r--r-- | src/reclaim-attribute/reclaim_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reclaim-attribute/reclaim_attribute.c b/src/reclaim-attribute/reclaim_attribute.c index d958ba7f9..113ec7ef5 100644 --- a/src/reclaim-attribute/reclaim_attribute.c +++ b/src/reclaim-attribute/reclaim_attribute.c | |||
@@ -426,7 +426,7 @@ GNUNET_RECLAIM_ATTESTATION_reference_new (const char *attr_name, | |||
426 | GNUNET_memcpy (write_ptr, attr_name_tmp, strlen (attr_name_tmp) + 1); | 426 | GNUNET_memcpy (write_ptr, attr_name_tmp, strlen (attr_name_tmp) + 1); |
427 | attr->name = write_ptr; | 427 | attr->name = write_ptr; |
428 | 428 | ||
429 | write_ptr = (char *) &attr[1]; | 429 | write_ptr += strlen (attr_name) +1; |
430 | GNUNET_memcpy (write_ptr, ref_value_tmp, strlen (ref_value_tmp) + 1); | 430 | GNUNET_memcpy (write_ptr, ref_value_tmp, strlen (ref_value_tmp) + 1); |
431 | attr->reference_value = write_ptr; | 431 | attr->reference_value = write_ptr; |
432 | 432 | ||