gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix FTBFS, better name for redu


From: gnunet
Subject: [taler-anastasis] branch master updated: fix FTBFS, better name for redux_cancel function
Date: Tue, 20 Oct 2020 16:02:34 +0200

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

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new a20b575  fix FTBFS, better name for redux_cancel function
a20b575 is described below

commit a20b575807bed408d2d1ff57887bbe968418efda
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Oct 20 16:02:32 2020 +0200

    fix FTBFS, better name for redux_cancel function
---
 src/cli/anastasis-cli-redux.c | 6 +++---
 src/include/anastasis_redux.h | 2 +-
 src/lib/anastasis_api_redux.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/cli/anastasis-cli-redux.c b/src/cli/anastasis-cli-redux.c
index 2abb657..3c856bc 100644
--- a/src/cli/anastasis-cli-redux.c
+++ b/src/cli/anastasis-cli-redux.c
@@ -26,6 +26,7 @@
 #include <gnunet/gnunet_curl_lib.h>
 #include "anastasis_redux.h"
 #include <taler/taler_util.h>
+#include <taler/taler_error_codes.h>
 #include "anastasis_util_lib.h"
 
 /**
@@ -111,14 +112,13 @@ persist_new_state (json_t *state,
   if (-1 !=
       fprintf (stdout,
                "%s",
-               json_dumps (init_state,
+               json_dumps (state,
                            JSON_COMPACT)))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Could not dump state to stdout\n");
-    return 1;
+    return;
   }
-  return 0;
 }
 
 
diff --git a/src/include/anastasis_redux.h b/src/include/anastasis_redux.h
index c0de517..c2557d9 100644
--- a/src/include/anastasis_redux.h
+++ b/src/include/anastasis_redux.h
@@ -194,7 +194,7 @@ struct ANASTASIS_ReduxAction;
 
 
 void
-ANASTASIS_action_cancel (struct ANASTASIS_ReduxAction *ra);
+ANASTASIS_redux_action_cancel (struct ANASTASIS_ReduxAction *ra);
 
 
 /**
diff --git a/src/lib/anastasis_api_redux.c b/src/lib/anastasis_api_redux.c
index 61fa91e..b6bfddd 100644
--- a/src/lib/anastasis_api_redux.c
+++ b/src/lib/anastasis_api_redux.c
@@ -925,7 +925,7 @@ ANASTASIS_redux_action (const json_t *state,
 
 
 void
-ANASTASIS_action_cancel (struct ANASTASIS_ReduxAction *ra)
+ANASTASIS_redux_action_cancel (struct ANASTASIS_ReduxAction *ra)
 {
   ra->cleanup (ra->cleanup_cls);
   GNUNET_free (ra);

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