gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: rename .success to .ok for cons


From: gnunet
Subject: [taler-taler-mdb] branch master updated: rename .success to .ok for consistency
Date: Mon, 12 Jun 2023 13:27:47 +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 34f5003  rename .success to .ok for consistency
     new 07dc2ed  Merge branch 'master' of git+ssh://git.taler.net/taler-mdb
34f5003 is described below

commit 34f5003f79579c1705db7aa8bd41b735b72998d3
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Thu May 18 15:38:52 2023 +0200

    rename .success to .ok for consistency
---
 INSTALL                   |  6 +++---
 src/taler-coin-acceptor.c |  2 +-
 src/taler-mdb.c           | 10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/INSTALL b/INSTALL
index 8865734..e82fd21 100644
--- 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
index 8ffecf7..3859e34 100644
--- 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
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.



reply via email to

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