summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-08-09 10:32:31 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-08-09 10:32:31 +0200
commit6f78cbe8ca06b0c6333436864974ffe4c970a7e6 (patch)
tree48b5d666a7bf9dee0194919b38410b3deca50fec
parentb3932f39b028d5db0d2e641e8593679c657b6bd1 (diff)
use to_string for attribute
-rw-r--r--src/reclaim/gnunet-reclaim.c5
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,
}
GNUNET_free (attrs_tmp);
} else if (list) {
+ attr_str = GNUNET_RECLAIM_ATTRIBUTE_value_to_string (attr->type,
+ attr->data,
+ attr->data_size);
GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE,
- "%s: %s\n", attr->name, (char*)attr->data);
+ "%s: %s\n", attr->name, attr_str);
}
GNUNET_RECLAIM_get_attributes_next (attr_iterator);
}