aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_reserves_status.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_reserves_status.c
parent290268e9af65467ba8ffc82a196e2666c7796475 (diff)
more API clean up
Diffstat (limited to 'src/lib/exchange_api_reserves_status.c')
-rw-r--r--src/lib/exchange_api_reserves_status.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_reserves_status.c b/src/lib/exchange_api_reserves_status.c
index 9f98b7f8..2ea64e8a 100644
--- a/src/lib/exchange_api_reserves_status.c
+++ b/src/lib/exchange_api_reserves_status.c
@@ -129,8 +129,8 @@ handle_reserves_status_ok (struct TALER_EXCHANGE_ReservesStatusHandle *rsh,
rhistory))
{
GNUNET_break_op (0);
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
GNUNET_JSON_parse_free (spec);
return GNUNET_SYSERR;
}
@@ -142,8 +142,8 @@ handle_reserves_status_ok (struct TALER_EXCHANGE_ReservesStatusHandle *rsh,
&rs);
rsh->cb = NULL;
}
- TALER_EXCHANGE_free_reserve_history (rhistory,
- len);
+ TALER_EXCHANGE_free_reserve_history (len,
+ rhistory);
}
return GNUNET_OK;
}