[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] branch master updated: -fix FTBFS for new APIs
From: |
gnunet |
Subject: |
[taler-taler-mdb] branch master updated: -fix FTBFS for new APIs |
Date: |
Sat, 03 Jun 2023 17:53:05 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository taler-mdb.
The following commit(s) were added to refs/heads/master by this push:
new 39fa5cc -fix FTBFS for new APIs
39fa5cc is described below
commit 39fa5cc35bba1362324a8e9ff2f5ef3a1345a011
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jun 3 17:53:02 2023 +0200
-fix FTBFS for new APIs
---
src/taler-coin-acceptor.c | 4 +---
src/taler-mdb.c | 10 +++++-----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/taler-coin-acceptor.c b/src/taler-coin-acceptor.c
index 8ffecf7..dec70b2 100644
--- 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
*
@@ -180,7 +179,7 @@ pickup_cb (
case MHD_HTTP_OK:
if (0 ==
TALER_amount_cmp (&sum,
- &tsr->details.success.total_picked_up))
+ &tsr->details.ok.total_picked_up))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Process completed\n");
@@ -253,7 +252,6 @@ authorize_cb (
}
-
/**
* Function run on coin insert.
*
diff --git a/src/taler-mdb.c b/src/taler-mdb.c
index 585563d..d6c00b4 100644
--- a/src/taler-mdb.c
+++ b/src/taler-mdb.c
@@ -1520,9 +1520,9 @@ check_payment_cb (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Backend request to /check-payment returned: %u/%d\n",
hr->http_status,
- (int) osr->details.success.status);
+ (int) osr->details.ok.status);
if ( (MHD_HTTP_OK == hr->http_status) &&
- (TALER_MERCHANT_OSC_PAID == osr->details.success.status) )
+ (TALER_MERCHANT_OSC_PAID == osr->details.ok.status) )
{
mdb.cmd = &cmd_approve_vend;
payment_activity->paid = true;
@@ -1548,14 +1548,14 @@ check_payment_cb (void *cls,
}
if ( (NULL == pa->taler_pay_uri) &&
(MHD_HTTP_OK == hr->http_status) &&
- (TALER_MERCHANT_OSC_UNPAID == osr->details.success.status) )
+ (TALER_MERCHANT_OSC_UNPAID == osr->details.ok.status) )
{
if (NULL == essid)
- uri = GNUNET_strdup (osr->details.success.details.unpaid.taler_pay_uri);
+ uri = GNUNET_strdup (osr->details.ok.details.unpaid.taler_pay_uri);
else
GNUNET_asprintf (&uri,
"%s#%s",
- osr->details.success.details.unpaid.taler_pay_uri,
+ osr->details.ok.details.unpaid.taler_pay_uri,
essid);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Trying to talk to wallet to give it pay URI `%s'\n",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-mdb] branch master updated: -fix FTBFS for new APIs,
gnunet <=