aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_reserves_purse.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-23 19:45:33 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-23 19:45:33 +0200
commita1825d38b355eb5b36d956eb470a68f071d25a6a (patch)
treef709b9095377d36a4494938b88dd9fcc8895f0c6 /src/exchange/taler-exchange-httpd_reserves_purse.c
parente270bc32cc94f251a9a953816e8c040a3a7bf3e1 (diff)
integrate p2p handlers with main dispatcher
Diffstat (limited to 'src/exchange/taler-exchange-httpd_reserves_purse.c')
-rw-r--r--src/exchange/taler-exchange-httpd_reserves_purse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_reserves_purse.c b/src/exchange/taler-exchange-httpd_reserves_purse.c
index 1d665879..c38115a9 100644
--- a/src/exchange/taler-exchange-httpd_reserves_purse.c
+++ b/src/exchange/taler-exchange-httpd_reserves_purse.c
@@ -345,10 +345,11 @@ purse_transaction (void *cls,
MHD_RESULT
TEH_handler_reserves_purse (
- struct MHD_Connection *connection,
+ struct TEH_RequestContext *rc,
const struct TALER_ReservePublicKeyP *reserve_pub,
const json_t *root)
{
+ struct MHD_Connection *connection = rc->connection;
struct ReservePurseContext rpc = {
.reserve_pub = reserve_pub,
.exchange_timestamp = GNUNET_TIME_timestamp_get ()