summaryrefslogtreecommitdiff
path: root/src/taler-coin-acceptor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-20 21:51:47 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-20 21:51:47 +0200
commit66190e93d40e84050003c6c34c454ece73b6e12a (patch)
tree1d51dcafb868081ab5d0631e918fe96d135fe760 /src/taler-coin-acceptor.c
parent07dc2ed9ba22b73ba7faf306c3e56081d4f05135 (diff)
downloadtaler-mdb-66190e93d40e84050003c6c34c454ece73b6e12a.tar.gz
taler-mdb-66190e93d40e84050003c6c34c454ece73b6e12a.tar.bz2
taler-mdb-66190e93d40e84050003c6c34c454ece73b6e12a.zip
-fix FTBFS
Diffstat (limited to 'src/taler-coin-acceptor.c')
-rw-r--r--src/taler-coin-acceptor.c18
1 files 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,