gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix RC bug


From: gnunet
Subject: [taler-anastasis] branch master updated: fix RC bug
Date: Mon, 08 Mar 2021 09:29:34 +0100

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 584c1ca  fix RC bug
584c1ca is described below

commit 584c1ca8322e8c1a3c5683074314b1850bff33eb
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 8 09:29:29 2021 +0100

    fix RC bug
---
 src/reducer/anastasis_api_redux.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/reducer/anastasis_api_redux.c 
b/src/reducer/anastasis_api_redux.c
index 3d79f89..e4777b6 100644
--- a/src/reducer/anastasis_api_redux.c
+++ b/src/reducer/anastasis_api_redux.c
@@ -903,7 +903,7 @@ select_continent (json_t *state,
   GNUNET_assert (NULL != countries);
   {
     size_t index;
-    json_t *country;
+    const json_t *country;
     bool found = false;
 
     json_array_foreach (root, index, country)
@@ -914,8 +914,8 @@ select_continent (json_t *state,
                            temp_continent))
       {
         GNUNET_assert (0 ==
-                       json_array_append_new (countries,
-                                              country));
+                       json_array_append (countries,
+                                          (json_t *) country));
         found = true;
       }
     }
@@ -1554,7 +1554,7 @@ ANASTASIS_redux_action_cancel (struct 
ANASTASIS_ReduxAction *ra)
 json_t *
 ANASTASIS_REDUX_load_continents_ ()
 {
-  json_t *countries;
+  const json_t *countries;
   json_t *continents;
   const json_t *redux_countries = ANASTASIS_redux_countries_init_ ();
 
@@ -1580,7 +1580,7 @@ ANASTASIS_REDUX_load_continents_ ()
     json_array_foreach (countries, index, country)
     {
       bool existing = false;
-      json_t *continent;
+      const json_t *continent;
 
       continent = json_object_get (country,
                                    "continent");
@@ -1608,7 +1608,7 @@ ANASTASIS_REDUX_load_continents_ ()
       if (! existing)
         GNUNET_assert (0 ==
                        json_array_append (continents,
-                                          continent));
+                                          (json_t *) continent));
     }
   }
   return json_pack ("{s:o}",

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