diff options
Diffstat (limited to 'src/identity-provider/identity_attribute.c')
-rw-r--r-- | src/identity-provider/identity_attribute.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/identity-provider/identity_attribute.c b/src/identity-provider/identity_attribute.c index 8cc94a731..916386754 100644 --- a/src/identity-provider/identity_attribute.c +++ b/src/identity-provider/identity_attribute.c | |||
@@ -110,9 +110,15 @@ attribute_list_deserialize (const char* data, | |||
110 | read_ptr = data; | 110 | read_ptr = data; |
111 | while (((data + data_size) - read_ptr) >= sizeof (struct Attribute)) | 111 | while (((data + data_size) - read_ptr) >= sizeof (struct Attribute)) |
112 | { | 112 | { |
113 | |||
113 | le = GNUNET_new (struct GNUNET_IDENTITY_PROVIDER_AttributeListEntry); | 114 | le = GNUNET_new (struct GNUNET_IDENTITY_PROVIDER_AttributeListEntry); |
114 | le->attribute = attribute_deserialize (read_ptr, | 115 | le->attribute = attribute_deserialize (read_ptr, |
115 | data_size - (read_ptr - data)); | 116 | data_size - (read_ptr - data)); |
117 | GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE, | ||
118 | "Deserialized attribute %s\n", le->attribute->name); | ||
119 | GNUNET_CONTAINER_DLL_insert (attrs->list_head, | ||
120 | attrs->list_tail, | ||
121 | le); | ||
116 | attr_len = attribute_serialize_get_size (le->attribute); | 122 | attr_len = attribute_serialize_get_size (le->attribute); |
117 | read_ptr += attr_len; | 123 | read_ptr += attr_len; |
118 | } | 124 | } |