gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix


From: gnunet
Subject: [taler-anastasis] branch master updated: fix
Date: Fri, 30 Oct 2020 17:24:39 +0100

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

dennis-neufeld pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new b24d895  fix
     new b999774  Merge branch 'master' of ssh://git.taler.net/anastasis
b24d895 is described below

commit b24d8950989353ea066d2532e5fc7119832401d3
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Fri Oct 30 17:24:08 2020 +0100

    fix
---
 src/cli/anastasis-cli-redux.c        | 4 ++--
 src/lib/anastasis_api_backup_redux.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cli/anastasis-cli-redux.c b/src/cli/anastasis-cli-redux.c
index c5d749b..66259cf 100644
--- a/src/cli/anastasis-cli-redux.c
+++ b/src/cli/anastasis-cli-redux.c
@@ -135,12 +135,12 @@ action_cb (void *cls,
   if (NULL != result_state)
     persist_new_state (result_state,
                        output_filename);
-  if (TALER_EC_NONE != error_code)
+  if (ANASTASIS_EC_NONE != error_code)
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Redux failed with error %d\n",
                 error_code);
   GNUNET_SCHEDULER_shutdown ();
-  global_ret = (TALER_EC_NONE != error_code) ? 1 : 0;
+  global_ret = (ANASTASIS_EC_NONE != error_code) ? 1 : 0;
 }
 
 
diff --git a/src/lib/anastasis_api_backup_redux.c 
b/src/lib/anastasis_api_backup_redux.c
index a1d1c1e..2bcec84 100644
--- a/src/lib/anastasis_api_backup_redux.c
+++ b/src/lib/anastasis_api_backup_redux.c
@@ -165,7 +165,7 @@ add_authentication (json_t *state,
                                              "authentication_methods");
   if (NULL == auth_method_arr)
     auth_method_arr = json_array ();
-  GNUNET_assert (NULL != auth_method_arr);
+  GNUNET_assert (json_is_array (auth_method_arr));
   GNUNET_assert (0 == json_array_append_new (auth_method_arr, method));
   GNUNET_assert (0 == json_object_set (state,
                                        "authentication_methods",

-- 
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]