commit 66190e93d40e84050003c6c34c454ece73b6e12a
parent 07dc2ed9ba22b73ba7faf306c3e56081d4f05135
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 20 Jun 2023 21:51:47 +0200
-fix FTBFS
Diffstat:
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git 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,