gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: use to_string for attribute


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: use to_string for attribute
Date: Thu, 09 Aug 2018 10:32:33 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 6f78cbe8c use to_string for attribute
6f78cbe8c is described below

commit 6f78cbe8ca06b0c6333436864974ffe4c970a7e6
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Aug 9 10:32:31 2018 +0200

    use to_string for attribute
---
 src/reclaim/gnunet-reclaim.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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);
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]