diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-29 12:03:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-29 12:03:59 +0200 |
commit | e51c40338077a3bd93ca5b0be6d3ae15aec1af61 (patch) | |
tree | 51a524fa9fd5970b77523b60797535d76f9f854a /src/backend/taler-merchant-httpd_post-tips-ID-pickup.c | |
parent | eed3d0d330ff6ce9462b913777c3aa121370ac8a (diff) | |
download | merchant-e51c40338077a3bd93ca5b0be6d3ae15aec1af61.tar.gz merchant-e51c40338077a3bd93ca5b0be6d3ae15aec1af61.tar.bz2 merchant-e51c40338077a3bd93ca5b0be6d3ae15aec1af61.zip |
fix hash_from_string confusion and other unchecked return value issues
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-tips-ID-pickup.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-tips-ID-pickup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c b/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c index 729a07f1..5171347b 100644 --- a/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c +++ b/src/backend/taler-merchant-httpd_post-tips-ID-pickup.c @@ -472,8 +472,9 @@ compute_total_requested (void *cls, TMH_trigger_daemon (); /* we resumed, kick MHD */ return; } - TALER_amount_get_zero (TMH_currency, - &pc->total_requested); + GNUNET_assert (GNUNET_OK == + TALER_amount_get_zero (TMH_currency, + &pc->total_requested)); for (unsigned int i = 0; i<pc->planchets_length; i++) { struct TALER_PlanchetDetail *pd = &pc->planchets[i]; |