diff options
author | Jeff Burdges <burdges@gnunet.org> | 2016-06-14 16:52:33 +0200 |
---|---|---|
committer | Jeff Burdges <burdges@gnunet.org> | 2016-06-14 16:52:33 +0200 |
commit | 877c5d918015164d1c1234e473984b8fd030efdb (patch) | |
tree | 2907e81cb8901beca7c3b8b7fe35023f9169fd77 /src/exchange-lib/exchange_api_admin.c | |
parent | de55e59207b3d65703b534f7bf951adcc79ec007 (diff) | |
parent | 7b9272d3e8cb4c540c876bc4e10875d45971214b (diff) |
Merge branch 'master' of git.taler.net:/var/git/exchange
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 0452a954..0d312918 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 = |