diff options
Diffstat (limited to 'src/exchange-lib')
-rw-r--r-- | src/exchange-lib/exchange_api_handle.c | 6 | ||||
-rw-r--r-- | src/exchange-lib/exchange_api_handle.h | 1 | ||||
-rw-r--r-- | src/exchange-lib/exchange_api_reserve.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index 6b0e785f8..00d680132 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -784,15 +784,15 @@ MAH_handle_is_ready (struct TALER_EXCHANGE_Handle *h) /** * Obtain the URL to use for an API request. * - * @param base_url base URL of the exchange (i.e. "http://exchange/") + * @param h handle for the exchange * @param path Taler API path (i.e. "/reserve/withdraw") * @return the full URI to use with cURL */ char * -MAH_path_to_url (struct TALER_EXCHANGE_Handle *exchange, +MAH_path_to_url (struct TALER_EXCHANGE_Handle *h, const char *path) { - return MAH_path_to_url2 (exchange->url, + return MAH_path_to_url2 (h->url, path); } diff --git a/src/exchange-lib/exchange_api_handle.h b/src/exchange-lib/exchange_api_handle.h index 73f801448..d4aa52f8d 100644 --- a/src/exchange-lib/exchange_api_handle.h +++ b/src/exchange-lib/exchange_api_handle.h @@ -55,6 +55,7 @@ char * MAH_path_to_url (struct TALER_EXCHANGE_Handle *h, const char *path); + /** * Obtain the URL to use for an API request. * diff --git a/src/exchange-lib/exchange_api_reserve.c b/src/exchange-lib/exchange_api_reserve.c index 1a1262fa3..de243b009 100644 --- a/src/exchange-lib/exchange_api_reserve.c +++ b/src/exchange-lib/exchange_api_reserve.c @@ -605,10 +605,10 @@ TALER_EXCHANGE_reserve_status (struct TALER_EXCHANGE_Handle *exchange, /** - * Cancel a withdraw status request. This function cannot be used + * Cancel a reserve status request. This function cannot be used * on a request handle if a response is already served for it. * - * @param rsh the withdraw status request handle + * @param rsh the reserve status request handle */ void TALER_EXCHANGE_reserve_status_cancel (struct TALER_EXCHANGE_ReserveStatusHandle *rsh) |