gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: bugfixes


From: gnunet
Subject: [taler-exchange] branch master updated: bugfixes
Date: Mon, 20 Jan 2020 01:30:41 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 7f60da49 bugfixes
7f60da49 is described below

commit 7f60da4971248971a8f4e33854c2a861d9e1e461
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 20 01:30:38 2020 +0100

    bugfixes
---
 src/exchange-tools/taler-exchange-keyup.c    | 2 +-
 src/exchange/taler-exchange-httpd_keystate.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-keyup.c 
b/src/exchange-tools/taler-exchange-keyup.c
index a235d46f..266c1bac 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -1034,7 +1034,7 @@ create_wire_fee_for_method (void *cls,
                                    opt,
                                    &af->closing_fee)) ||
          (0 != strcasecmp (currency,
-                           af->wire_fee.currency)) )
+                           af->closing_fee.currency)) )
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Invalid or missing amount in `%s' under `%s'\n",
diff --git a/src/exchange/taler-exchange-httpd_keystate.c 
b/src/exchange/taler-exchange-httpd_keystate.c
index f6306fc5..6554d3f2 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -2240,9 +2240,9 @@ read_again:
         {
           GNUNET_assert (0 < os->refcnt);
           os->refcnt--; /* removed #internal_key_state reference */
+          if (0 != os->refcnt)
+            os = NULL; /* other aliases are still active, do not yet free */
         }
-        if (0 != os->refcnt)
-          os = NULL; /* other aliases are still active, do not yet free */
         GNUNET_assert (0 == pthread_mutex_unlock (&internal_key_state_mutex));
         if (NULL != os)
           ks_free (os); /* RC did hit zero, free */

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



reply via email to

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