gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/02: yet another TALER_amount_get_zero w


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/02: yet another TALER_amount_get_zero with missing rval check
Date: Fri, 06 Oct 2017 22:10:36 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 12619719879aba243f7794c13c7ac43211386c49
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Oct 6 22:08:35 2017 +0200

    yet another TALER_amount_get_zero with missing rval check
---
 src/auditor/taler-auditor.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index f9f03b0..e19ff73 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -2186,8 +2186,9 @@ check_wire_out_cb (void *cls,
   wcc.method = json_string_value (method);
   wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
   wcc.date = date;
-  TALER_amount_get_zero (amount->currency,
-                         &wcc.total_deposits);
+  GNUNET_assert (GNUNET_OK ==
+                 TALER_amount_get_zero (amount->currency,
+                                        &wcc.total_deposits));
   if (GNUNET_OK !=
       TALER_JSON_hash (wire,
                        &wcc.h_wire))

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



reply via email to

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