gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: - Minor fix reclaim attestation plugin


From: gnunet
Subject: [gnunet] branch master updated: - Minor fix reclaim attestation plugin
Date: Mon, 15 Jun 2020 12:38:59 +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 a07778df4 - Minor fix reclaim attestation plugin
a07778df4 is described below

commit a07778df40ee840a8da6d222e05e66962c902227
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Mon Jun 15 12:33:14 2020 +0200

    - Minor fix reclaim attestation plugin
---
 src/reclaim/json_reclaim.c        | 2 +-
 src/reclaim/plugin_rest_reclaim.c | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/reclaim/json_reclaim.c b/src/reclaim/json_reclaim.c
index d52d15ed4..c470ea567 100644
--- a/src/reclaim/json_reclaim.c
+++ b/src/reclaim/json_reclaim.c
@@ -332,7 +332,7 @@ parse_attest (void *cls, json_t *root, struct 
GNUNET_JSON_Specification *spec)
                                                    (void **) &data,
                                                    &data_size)))
   {
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Attestation value invalid!\n");
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Attestation value invalid!\n");
     return GNUNET_SYSERR;
   }
   attr = GNUNET_RECLAIM_attestation_new (name_str, type, data, data_size);
diff --git a/src/reclaim/plugin_rest_reclaim.c 
b/src/reclaim/plugin_rest_reclaim.c
index 0800e5b20..863dd0450 100644
--- a/src/reclaim/plugin_rest_reclaim.c
+++ b/src/reclaim/plugin_rest_reclaim.c
@@ -508,8 +508,7 @@ add_attestation_cont (struct GNUNET_REST_RequestHandle 
*con_handle,
                  handle->rest_handle->data,
                  handle->rest_handle->data_size);
   data_json = json_loads (term_data, JSON_DECODE_ANY, &err);
-  GNUNET_assert (GNUNET_OK ==
-                 GNUNET_JSON_parse (data_json, attrspec, NULL, NULL));
+  GNUNET_JSON_parse (data_json, attrspec, NULL, NULL);
   json_decref (data_json);
   if (NULL == attribute)
   {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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