diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-30 01:38:28 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-30 01:38:28 +0100 |
commit | a4bff93ef869bbcd0f425d1b424d9b307f601447 (patch) | |
tree | 579f8ff4a1333e9175b826240e28371a8e9356d0 /src/lib/merchant_api_tip_authorize.c | |
parent | 4b47e3ac9fd0f69f6ab1a317ac03b828d0993cba (diff) | |
download | merchant-a4bff93ef869bbcd0f425d1b424d9b307f601447.tar.gz merchant-a4bff93ef869bbcd0f425d1b424d9b307f601447.tar.bz2 merchant-a4bff93ef869bbcd0f425d1b424d9b307f601447.zip |
use url instead of uri consistently
Diffstat (limited to 'src/lib/merchant_api_tip_authorize.c')
-rw-r--r-- | src/lib/merchant_api_tip_authorize.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_tip_authorize.c b/src/lib/merchant_api_tip_authorize.c index a7aa4f5a..e9b263b9 100644 --- a/src/lib/merchant_api_tip_authorize.c +++ b/src/lib/merchant_api_tip_authorize.c @@ -85,11 +85,11 @@ check_ok (struct TALER_MERCHANT_TipAuthorizeOperation *tao, { struct GNUNET_HashCode tip_id; struct GNUNET_TIME_Absolute tip_expiration; - const char *exchange_uri; + const char *exchange_url; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_absolute_time ("expiration", &tip_expiration), GNUNET_JSON_spec_fixed_auto ("tip_id", &tip_id), - GNUNET_JSON_spec_string ("exchange_url", &exchange_uri), + GNUNET_JSON_spec_string ("exchange_url", &exchange_url), GNUNET_JSON_spec_end() }; @@ -106,7 +106,7 @@ check_ok (struct TALER_MERCHANT_TipAuthorizeOperation *tao, TALER_JSON_get_error_code (json), &tip_id, tip_expiration, - exchange_uri); + exchange_url); tao->cb = NULL; /* do not call twice */ GNUNET_JSON_parse_free (spec); return GNUNET_OK; @@ -236,7 +236,7 @@ TALER_MERCHANT_tip_authorize (struct GNUNET_CURL_Context *ctx, } json_decref (te_obj); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Requesting URI '%s'\n", + "Requesting URL '%s'\n", tao->url); eh = curl_easy_init (); GNUNET_assert (CURLE_OK == |