exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 9c194f79a5d9fdba4d5cb9a0379bb8cae4778b95
parent de9fdf860af9bdeadee4ed21a2c03dc34d58dd86
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  2 May 2019 22:25:47 +0200

adapt to GNUnet API change

Diffstat:
Msrc/auditor/taler-auditor-httpd_parsing.c | 1+
Msrc/bank-lib/fakebank.c | 10++++++----
Msrc/exchange/taler-exchange-httpd_parsing.c | 1+
3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/auditor/taler-auditor-httpd_parsing.c b/src/auditor/taler-auditor-httpd_parsing.c @@ -70,6 +70,7 @@ TAH_PARSE_post_json (struct MHD_Connection *connection, enum GNUNET_JSON_PostResult pr; pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX, + connection, con_cls, upload_data, upload_data_size, diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c @@ -397,6 +397,7 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h, uint64_t row_id; pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX, + connection, con_cls, upload_data, upload_data_size, @@ -523,6 +524,7 @@ handle_reject (struct TALER_FAKEBANK_Handle *h, int found; pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX, + connection, con_cls, upload_data, upload_data_size, @@ -604,7 +606,7 @@ handle_home_page (struct TALER_FAKEBANK_Handle *h, int ret; struct MHD_Response *resp; #define HELLOMSG "Hello, Fakebank!" - + resp = MHD_create_response_from_buffer (strlen (HELLOMSG), HELLOMSG, @@ -721,8 +723,8 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h, struct HistoryRangeDates hrd; const char *start; const char *end; - long long unsigned int start_stamp; - long long unsigned int end_stamp; + long long unsigned int start_stamp; + long long unsigned int end_stamp; struct Transaction *pos; if (GNUNET_OK != TFH_parse_history_common_args (connection, @@ -760,7 +762,7 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h, pos = pos->next) { if (hrd.start.abs_value_us <= pos->date.abs_value_us) - break; + break; } return TFH_build_history_response (connection, pos, diff --git a/src/exchange/taler-exchange-httpd_parsing.c b/src/exchange/taler-exchange-httpd_parsing.c @@ -70,6 +70,7 @@ TEH_PARSE_post_json (struct MHD_Connection *connection, enum GNUNET_JSON_PostResult pr; pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX, + connection, con_cls, upload_data, upload_data_size,