gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -check rvalues


From: gnunet
Subject: [taler-exchange] branch master updated: -check rvalues
Date: Wed, 22 Nov 2023 23:06:40 +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 a67800fb -check rvalues
a67800fb is described below

commit a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 22 22:06:37 2023 +0100

    -check rvalues
---
 src/exchange/taler-exchange-httpd_batch-deposit.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_batch-deposit.c 
b/src/exchange/taler-exchange-httpd_batch-deposit.c
index 32c39adc..516739f7 100644
--- a/src/exchange/taler-exchange-httpd_batch-deposit.c
+++ b/src/exchange/taler-exchange-httpd_batch-deposit.c
@@ -523,8 +523,9 @@ TEH_handler_batch_deposit (struct TEH_RequestContext *rc,
       return MHD_YES; /* failure */
     }
   }
-  TALER_amount_set_zero (TEH_currency,
-                         &dc.policy_details.accumulated_total);
+  GNUNET_assert (GNUNET_OK ==
+                 TALER_amount_set_zero (TEH_currency,
+                                        &dc.policy_details.accumulated_total));
   /* validate merchant's wire details (as far as we can) */
   {
     char *emsg;

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