From 49bb51daf5486817c3adc8a63137de1ec9d98589 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 May 2020 19:11:08 +0200 Subject: implement POST /reserves --- src/backend/taler-merchant-httpd_private-post-transfers.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/backend/taler-merchant-httpd_private-post-transfers.c') diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.c b/src/backend/taler-merchant-httpd_private-post-transfers.c index 0b9b6728..3687f6da 100644 --- a/src/backend/taler-merchant-httpd_private-post-transfers.c +++ b/src/backend/taler-merchant-httpd_private-post-transfers.c @@ -534,6 +534,7 @@ retry: * @param cls the `struct PostTransfersContext` * @param hr HTTP response details * @param eh NULL if exchange was not found to be acceptable + * @param payto_uri payto://-URI of the exchange * @param wire_fee NULL (we did not specify a wire method) * @param exchange_trusted #GNUNET_YES if this exchange is trusted by config */ @@ -541,11 +542,14 @@ static void process_transfer_with_exchange (void *cls, const struct TALER_EXCHANGE_HttpResponse *hr, struct TALER_EXCHANGE_Handle *eh, + const char *payto_uri, const struct TALER_Amount *wire_fee, - int exchange_trusted) + bool exchange_trusted) { struct PostTransfersContext *ptc = cls; + (void) payto_uri; + (void) exchange_trusted; ptc->fo = NULL; if (MHD_HTTP_OK != hr->http_status) { -- cgit v1.2.3