diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:56:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:56:26 +0100 |
commit | a519c6229c83ac8bcf405f1b96043f9e1eb396f9 (patch) | |
tree | 88140e14aa82b3a51b97574cd8b253d288e4ec8d /src | |
parent | e9fa3224538fade591e40a8b4c4e19b90b8591b1 (diff) |
implement bank client to comply with spec
Diffstat (limited to 'src')
-rw-r--r-- | src/bank/mb_credit.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bank/mb_credit.c b/src/bank/mb_credit.c index 65da86e0..f7b09350 100644 --- a/src/bank/mb_credit.c +++ b/src/bank/mb_credit.c @@ -18,7 +18,7 @@ */ /** * @file bank/mb_credit.c - * @brief Implementation of the /history/incoming + * @brief Implementation of the /history * requests of the libeufin's Taler merchant facade * @author Christian Grothoff * @author Marcello Stanisci @@ -29,7 +29,7 @@ /** - * @brief A /history/incoming Handle + * @brief A /history Handle */ struct TALER_MERCHANT_BANK_CreditHistoryHandle { @@ -136,7 +136,7 @@ parse_account_history (struct TALER_MERCHANT_BANK_CreditHistoryHandle *hh, /** * Function called when we're done processing the - * HTTP /history/incoming request. + * HTTP "/history" request. * * @param cls the `struct TALER_MERCHANT_BANK_CreditHistoryHandle` * @param response_code HTTP response code, 0 on error @@ -246,13 +246,13 @@ TALER_MERCHANT_BANK_credit_history ( (! GNUNET_TIME_relative_is_zero (timeout)) ) GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&long_poll_ms=%llu", + "history?delta=%lld&long_poll_ms=%llu", (long long) num_results, tms); else GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld", + "history?delta=%lld", (long long) num_results); } else @@ -261,14 +261,14 @@ TALER_MERCHANT_BANK_credit_history ( (! GNUNET_TIME_relative_is_zero (timeout)) ) GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&start=%llu&long_poll_ms=%llu", + "history?delta=%lld&start=%llu&long_poll_ms=%llu", (long long) num_results, (unsigned long long) start_row, tms); else GNUNET_snprintf (url, sizeof (url), - "history/incoming?delta=%lld&start=%llu", + "history?delta=%lld&start=%llu", (long long) num_results, (unsigned long long) start_row); } |