diff options
author | ng0 <ng0@n0.is> | 2019-04-10 20:49:59 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-10 20:51:36 +0000 |
commit | 71acaff203586a956c71f0e90317d5fff0a50e14 (patch) | |
tree | fa2abb2a5b48894783da859e74c1966772be3ddf /src/bank-lib/bank_api_history.c | |
parent | 2699155b81f8db564e27610896eb2af0c3e88c6d (diff) | |
parent | a73e1dd4198bd7fe83e6e00ee01fe5a83bbaa41d (diff) | |
download | exchange-71acaff203586a956c71f0e90317d5fff0a50e14.tar.gz exchange-71acaff203586a956c71f0e90317d5fff0a50e14.tar.bz2 exchange-71acaff203586a956c71f0e90317d5fff0a50e14.zip |
Merge branch 'master' of git.taler.net:exchange
Diffstat (limited to 'src/bank-lib/bank_api_history.c')
-rw-r--r-- | src/bank-lib/bank_api_history.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c index 4b9ea3c3c..5cdac9170 100644 --- a/src/bank-lib/bank_api_history.c +++ b/src/bank-lib/bank_api_history.c @@ -419,7 +419,7 @@ TALER_BANK_history_range (struct GNUNET_CURL_Context *ctx, GNUNET_TIME_round_abs (&end_date); GNUNET_asprintf (&url, - "/history?auth=basic&account_number=%llu&start=%llu&end=%llu&direction=%s&cancelled=%s&ordering=%s", + "/history-range?auth=basic&account_number=%llu&start=%llu&end=%llu&direction=%s&cancelled=%s&ordering=%s", (unsigned long long) account_number, start_date.abs_value_us / 1000LL / 1000LL, end_date.abs_value_us / 1000LL / 1000LL, @@ -498,7 +498,8 @@ TALER_BANK_history (struct GNUNET_CURL_Context *ctx, /* Locate and "cut" the 'start' argument, * if the user didn't provide one. */ if (UINT64_MAX == start_row) - *strstr (url, "&start=") = '\0'; + *strstr (url, + "&start=") = '\0'; hh = put_history_job (ctx, bank_base_url, |