diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-23 18:44:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-23 18:44:08 +0200 |
commit | 879be3f7d27eb5279bbe51194a66aab4fcc8d8ce (patch) | |
tree | 2a8e5a4a4e0725a05cba443160e12aac59d6c379 /src | |
parent | 316aca645c411b7a8b886711b002360f1c9a5fed (diff) |
-fix struct name
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-paid.c | 1 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 2 | ||||
-rw-r--r-- | src/lib/merchant_api_post_order_pay.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c index 1e692bfc..ffab20af 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c @@ -28,6 +28,7 @@ #include <taler/taler_exchange_service.h> #include "taler-merchant-httpd_post-orders-ID-paid.h" + MHD_RESULT TMH_post_orders_ID_paid (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index ee29b9c6..74c7dd89 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1540,7 +1540,7 @@ execute_pay_transaction (struct PayContext *pc) /* Sign on our end (as the payment did go through, even if it may have been refunded already) */ { - struct PaymentResponsePS mr = { + struct TALER_PaymentResponsePS mr = { .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_PAYMENT_OK), .purpose.size = htonl (sizeof (mr)), .h_contract_terms = pc->h_contract_terms diff --git a/src/lib/merchant_api_post_order_pay.c b/src/lib/merchant_api_post_order_pay.c index eb9ecba1..8decd2b1 100644 --- a/src/lib/merchant_api_post_order_pay.c +++ b/src/lib/merchant_api_post_order_pay.c @@ -264,7 +264,7 @@ handle_pay_finished (void *cls, if (oph->am_wallet) { /* Here we can (and should) verify the merchant's signature */ - struct PaymentResponsePS pr = { + struct TALER_PaymentResponsePS pr = { .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_PAYMENT_OK), .purpose.size = htonl (sizeof (pr)), .h_contract_terms = oph->h_contract_terms |