diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-22 22:06:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-22 22:06:37 +0100 |
commit | a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74 (patch) | |
tree | 94eeab10b4836744b3e78cd7c87e7dacc70de642 /src/exchange | |
parent | 3b97df2bd3fc4a544e779210c67ff55aa66caa1d (diff) | |
download | exchange-a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74.tar.gz exchange-a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74.tar.bz2 exchange-a67800fb0d1d1e91c9c68538e0dd09cf4b06ff74.zip |
-check rvalues
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_batch-deposit.c | 5 |
1 files 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 32c39adce..516739f76 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; |