From d3772a834fa3df6802c170779c09d24cbb6fc1a6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Jul 2023 18:39:06 +0200 Subject: more API clean up --- src/lib/exchange_api_wire.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/lib/exchange_api_wire.c') diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c index ef160a097..a428f9fb8 100644 --- a/src/lib/exchange_api_wire.c +++ b/src/lib/exchange_api_wire.c @@ -273,8 +273,8 @@ handle_wire_finished (void *cls, if (GNUNET_OK != TALER_EXCHANGE_parse_accounts (&master_pub, accounts, - was, - wr.details.ok.accounts_len)) + wr.details.ok.accounts_len, + was)) { GNUNET_break_op (0); wr.hr.http_status = 0; @@ -286,8 +286,9 @@ handle_wire_finished (void *cls, &wr); wh->cb = NULL; } - TALER_EXCHANGE_free_accounts (was, - wr.details.ok.accounts_len); + TALER_EXCHANGE_free_accounts ( + wr.details.ok.accounts_len, + was); } /* end of 'parse accounts */ free_fees (fbm, wr.details.ok.fees_len); -- cgit v1.2.3