aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_batch_withdraw2.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-03 18:39:06 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-03 18:39:06 +0200
commitd3772a834fa3df6802c170779c09d24cbb6fc1a6 (patch)
tree5dd340d54d36b0e0cda908a347b42a1cc5881f71 /src/lib/exchange_api_batch_withdraw2.c
parent290268e9af65467ba8ffc82a196e2666c7796475 (diff)
downloadexchange-d3772a834fa3df6802c170779c09d24cbb6fc1a6.tar.xz
more API clean up
Diffstat (limited to 'src/lib/exchange_api_batch_withdraw2.c')
-rw-r--r--src/lib/exchange_api_batch_withdraw2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/exchange_api_batch_withdraw2.c b/src/lib/exchange_api_batch_withdraw2.c
index a855fc57e..1f59a6980 100644
--- a/src/lib/exchange_api_batch_withdraw2.c
+++ b/src/lib/exchange_api_batch_withdraw2.c
@@ -229,12 +229,12 @@ reserve_batch_withdraw_payment_required (
rhistory))
{
GNUNET_break_op (0);
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
return GNUNET_SYSERR;
}
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
}
/* Check that funds were really insufficient */
@@ -391,8 +391,8 @@ TALER_EXCHANGE_batch_withdraw2 (
const char *exchange_url,
const struct TALER_EXCHANGE_Keys *keys,
const struct TALER_ReservePrivateKeyP *reserve_priv,
- const struct TALER_PlanchetDetail *pds,
unsigned int pds_length,
+ const struct TALER_PlanchetDetail pds[static pds_length],
TALER_EXCHANGE_BatchWithdraw2Callback res_cb,
void *res_cb_cls)
{