taler-mdb

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

commit 34f5003f79579c1705db7aa8bd41b735b72998d3
parent 168e117bfca0f3f2eefd620b0110fe41d38b737a
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Thu, 18 May 2023 15:38:52 +0200

rename .success to .ok for consistency

Diffstat:
MINSTALL | 6+++---
Msrc/taler-coin-acceptor.c | 2+-
Msrc/taler-mdb.c | 10+++++-----
3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/INSTALL b/INSTALL @@ -1,8 +1,8 @@ Installation Instructions ************************* - Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software -Foundation, Inc. + Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free +Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright @@ -225,7 +225,7 @@ order to use an ANSI C compiler: and if that doesn't work, install pre-built binaries of GCC for HP-UX. - HP-UX 'make' updates targets which have the same time stamps as their + HP-UX 'make' updates targets which have the same timestamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. diff --git a/src/taler-coin-acceptor.c b/src/taler-coin-acceptor.c @@ -180,7 +180,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"); diff --git 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",