diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-13 16:36:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-13 16:36:10 +0200 |
commit | 6cd71bebbf143b62c8b99adcc51e34898fd11512 (patch) | |
tree | a225894da263371453482578fd678471ea7ea7d8 /src/exchange-lib/exchange_api_admin.c | |
parent | 2a58f470afb74046c811a4ee521176af83a52588 (diff) | |
download | exchange-6cd71bebbf143b62c8b99adcc51e34898fd11512.tar.xz |
implement #4569
Diffstat (limited to 'src/exchange-lib/exchange_api_admin.c')
-rw-r--r-- | src/exchange-lib/exchange_api_admin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange-lib/exchange_api_admin.c b/src/exchange-lib/exchange_api_admin.c index 0452a9546..0d3129186 100644 --- a/src/exchange-lib/exchange_api_admin.c +++ b/src/exchange-lib/exchange_api_admin.c @@ -141,6 +141,7 @@ handle_admin_add_incoming_finished (void *cls, * to the operators of the exchange. * * @param exchange the exchange handle; the exchange must be ready to operate + * @param admin_url URL of the administrative interface of the exchange * @param reserve_pub public key of the reserve * @param amount amount that was deposited * @param execution_date when did we receive the amount @@ -156,6 +157,7 @@ handle_admin_add_incoming_finished (void *cls, */ struct TALER_EXCHANGE_AdminAddIncomingHandle * TALER_EXCHANGE_admin_add_incoming (struct TALER_EXCHANGE_Handle *exchange, + const char *admin_url, const struct TALER_ReservePublicKeyP *reserve_pub, const struct TALER_Amount *amount, struct GNUNET_TIME_Absolute execution_date, @@ -188,7 +190,8 @@ TALER_EXCHANGE_admin_add_incoming (struct TALER_EXCHANGE_Handle *exchange, aai->exchange = exchange; aai->cb = res_cb; aai->cb_cls = res_cb_cls; - aai->url = MAH_path_to_url (exchange, "/admin/add/incoming"); + aai->url = MAH_path_to_url2 (admin_url, + "/admin/add/incoming"); eh = curl_easy_init (); GNUNET_assert (NULL != (aai->json_enc = |