diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-08-09 10:32:31 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-08-09 10:32:31 +0200 |
commit | 6f78cbe8ca06b0c6333436864974ffe4c970a7e6 (patch) | |
tree | 48b5d666a7bf9dee0194919b38410b3deca50fec /src/reclaim/gnunet-reclaim.c | |
parent | b3932f39b028d5db0d2e641e8593679c657b6bd1 (diff) | |
download | gnunet-6f78cbe8ca06b0c6333436864974ffe4c970a7e6.tar.gz gnunet-6f78cbe8ca06b0c6333436864974ffe4c970a7e6.zip |
use to_string for attribute
Diffstat (limited to 'src/reclaim/gnunet-reclaim.c')
-rw-r--r-- | src/reclaim/gnunet-reclaim.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c index 9947eac6d..68a37b704 100644 --- a/src/reclaim/gnunet-reclaim.c +++ b/src/reclaim/gnunet-reclaim.c | |||
@@ -341,8 +341,11 @@ iter_cb (void *cls, | |||
341 | } | 341 | } |
342 | GNUNET_free (attrs_tmp); | 342 | GNUNET_free (attrs_tmp); |
343 | } else if (list) { | 343 | } else if (list) { |
344 | attr_str = GNUNET_RECLAIM_ATTRIBUTE_value_to_string (attr->type, | ||
345 | attr->data, | ||
346 | attr->data_size); | ||
344 | GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE, | 347 | GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE, |
345 | "%s: %s\n", attr->name, (char*)attr->data); | 348 | "%s: %s\n", attr->name, attr_str); |
346 | } | 349 | } |
347 | GNUNET_RECLAIM_get_attributes_next (attr_iterator); | 350 | GNUNET_RECLAIM_get_attributes_next (attr_iterator); |
348 | } | 351 | } |