diff options
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 4604fc0c..0147ec76 100644 --- a/src/lib/merchant_api_tip_authorize.c +++ b/src/lib/merchant_api_tip_authorize.c @@ -239,8 +239,8 @@ TALER_MERCHANT_tip_authorize2 ( tao->cb_cls = authorize_cb_cls; { - char res_str[sizeof (struct GNUNET_HashCode) * 2]; - char arg_str[sizeof (struct TALER_CoinSpendPublicKeyP) * 2 + 32]; + char res_str[sizeof (*reserve_pub) * 2]; + char arg_str[sizeof (res_str) + 48]; char *end; end = GNUNET_STRINGS_data_to_string (reserve_pub, @@ -250,7 +250,7 @@ TALER_MERCHANT_tip_authorize2 ( *end = '\0'; GNUNET_snprintf (arg_str, sizeof (arg_str), - "/reserves/%s/tip-authorize", + "/private/reserves/%s/tip-authorize", res_str); tao->url = TALER_url_join (backend_url, arg_str, @@ -341,7 +341,7 @@ TALER_MERCHANT_tip_authorize (struct GNUNET_CURL_Context *ctx, tao->cb_cls = authorize_cb_cls; tao->url = TALER_url_join (backend_url, - "/tips", + "/private/tips", NULL); if (NULL == tao->url) { |