gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: -fix struct name


From: gnunet
Subject: [taler-merchant] branch master updated: -fix struct name
Date: Fri, 23 Jul 2021 18:44:11 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 879be3f7 -fix struct name
879be3f7 is described below

commit 879be3f7d27eb5279bbe51194a66aab4fcc8d8ce
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 23 18:44:08 2021 +0200

    -fix struct name
---
 src/backend/taler-merchant-httpd_post-orders-ID-paid.c | 1 +
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c  | 2 +-
 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]