taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 07dc2ed9ba22b73ba7faf306c3e56081d4f05135
parent 34f5003f79579c1705db7aa8bd41b735b72998d3
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 12 Jun 2023 13:27:41 +0200

Merge branch 'master' of git+ssh://git.taler.net/taler-mdb

Diffstat:
Msrc/taler-coin-acceptor.c | 2--
Msrc/taler-mdb.c | 16+++++-----------
2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/taler-coin-acceptor.c b/src/taler-coin-acceptor.c @@ -162,7 +162,6 @@ do_shutdown (void *cls) } - /** * With result of a GET /private/tips/$TIP_ID request * @@ -253,7 +252,6 @@ authorize_cb ( } - /** * Function run on coin insert. * diff --git a/src/taler-mdb.c b/src/taler-mdb.c @@ -1830,27 +1830,21 @@ async_refund_cleanup_job (void *cls) * @brief Callback to process a POST /refund request * * @param cls closure - * @param hr HTTP response details - * @param refund_uri the refund uri offered to the wallet - * @param h_contract hash of the contract a Browser may need to authorize - * obtaining the HTTP response. + * @param rr response details */ static void refund_complete_cb (void *cls, - const struct TALER_MERCHANT_HttpResponse *hr, - const char *refund_uri, - const struct TALER_PrivateContractHashP *h_contract) + const struct TALER_MERCHANT_RefundResponse *rr) { struct Refund *r = cls; - (void) refund_uri; r->orh = NULL; - if (MHD_HTTP_OK != hr->http_status) + if (MHD_HTTP_OK != rr->hr.http_status) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to grant consumer refund: %u/%d\n", - hr->http_status, - (int) hr->ec); + rr->hr.http_status, + (int) rr->hr.ec); } GNUNET_CONTAINER_DLL_remove (refund_head, refund_tail,