From: Schanzenbach, Martin Date: Thu, 9 Aug 2018 08:32:31 +0000 (+0200) Subject: use to_string for attribute X-Git-Tag: v0.11.0~322^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6f78cbe8ca06b0c6333436864974ffe4c970a7e6;p=oweals%2Fgnunet.git use to_string for attribute --- 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); }