diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-03 18:39:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-03 18:39:06 +0200 |
commit | d3772a834fa3df6802c170779c09d24cbb6fc1a6 (patch) | |
tree | 5dd340d54d36b0e0cda908a347b42a1cc5881f71 /src/lib/exchange_api_wire.c | |
parent | 290268e9af65467ba8ffc82a196e2666c7796475 (diff) | |
download | exchange-d3772a834fa3df6802c170779c09d24cbb6fc1a6.tar.xz |
more API clean up
Diffstat (limited to 'src/lib/exchange_api_wire.c')
-rw-r--r-- | src/lib/exchange_api_wire.c | 9 |
1 files changed, 5 insertions, 4 deletions
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); |