gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: -fix FTBFS


From: gnunet
Subject: [taler-taler-mdb] branch master updated: -fix FTBFS
Date: Tue, 20 Jun 2023 21:51:52 +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 66190e9  -fix FTBFS
66190e9 is described below

commit 66190e93d40e84050003c6c34c454ece73b6e12a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 20 21:51:47 2023 +0200

    -fix FTBFS
---
 src/taler-coin-acceptor.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/taler-coin-acceptor.c b/src/taler-coin-acceptor.c
index dec70b2..df3d5ae 100644
--- a/src/taler-coin-acceptor.c
+++ b/src/taler-coin-acceptor.c
@@ -210,19 +210,15 @@ pickup_cb (
  * the operation.
  *
  * @param cls closure, NULL
- * @param hr HTTP response details
- * @param tip_idp which tip ID should be used to pickup the tip
- * @param tip_uri URI for the tip
- * @param tip_expiration when does the tip expire
+ * @param tar response details
  */
 static void
 authorize_cb (
   void *cls,
-  const struct TALER_MERCHANT_HttpResponse *hr,
-  struct TALER_TipIdentifierP *tip_idp,
-  const char *tip_uri,
-  struct GNUNET_TIME_Timestamp tip_expiration)
+  const struct TALER_MERCHANT_TipAuthorizeResponse *tar)
 {
+  const struct TALER_MERCHANT_HttpResponse *hr = &tar->hr;
+
   (void) cls;
   tah = NULL;
   switch (hr->http_status)
@@ -237,12 +233,12 @@ authorize_cb (
   // FIXME: show tip_uri on display!
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Tip pickup uri: %s\n",
-              tip_uri);
+              tar->details.ok.tip_uri);
   /* FIXME: merchant service to support long-polling here! */
-  tip_id = *tip_idp;
+  tip_id = tar->details.ok.tip_id;
   tmgh = TALER_MERCHANT_merchant_tip_get (ctx,
                                           merchant_url,
-                                          &tip_id,
+                                          &tar->details.ok.tip_id,
                                           NULL,
                                           GNUNET_TIME_UNIT_ZERO,
                                           false,

-- 
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]